尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
Metro Camera Watch - CA, NY: map of license plate readers (Flock/ALPR) and speed cameras in the Los Angeles and New York City areas, with spoken drive alerts
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A map of automated license plate readers (ALPR, such as Flock Safety) and speed cameras, with spoken alerts while you drive. It has saved data for the Los Angeles and New York City areas, and fetches live data anywhere else.
Live map: https://geocolon.github.io/metro-camera-watch/
index.html is a single static page built on Leaflet and Leaflet.markercluster. It has no backend.
It starts from saved regional snapshots built by scripts/build_snapshot.py. Plate readers come from DeFlock's published OpenStreetMap extract, a static file that loads even when Overpass is overloaded; speed cameras come from Overpass. data/regions.json lists them, and each region's file (data/la.json, data/ny.json) loads only when you look at or search in that area. A GitHub Action (.github/workflows/update-data.yml) refreshes them every day. The free Overpass servers are often slow, so the snapshots keep the map fast and reliable.
REGIONS in scripts/build_snapshot.py.Refresh live data asks the Overpass API for the latest OpenStreetMap edits in view:
surveillance:type=ALPR for license plate readershighway=speed_camera for speed camerasBrowsing or driving outside every saved region fetches live data automatically.
City camera sites and corridors (street, cross streets, speed limit) come from LADOT's public ArcGIS layers (program page).
Web pages can't run in the background. Keep the page open and on screen in a phone mount; locking the phone or switching apps pauses alerts. Set things up before you drive, and always follow posted limits, because the camera data is incomplete.
OSM's tile servers block pages opened straight from disk, so serve the folder:
python3 -m http.server 8000
Then open http://localhost:8000/. Location and drive mode need localhost or HTTPS.
Both use only the Python standard library (3.7+).
python3 scripts/build_snapshot.py
Rebuilds every region's snapshot. Name regions to rebuild only those, for example python3 scripts/build_snapshot.py ny.
python3 scripts/cameras_to_kml.py
Writes cameras.kml for Google My Maps: choose Create a new map → Import. Pass --bbox south,west,north,east for another area.
Camera locations come from volunteers. If you spot one that isn't on the map, add it with DeFlock or edit OpenStreetMap directly.
The code in this repository is released under the MIT License. The camera data is not covered by that license; it stays under the ODbL.