feat(cameras): ODOT TripCheck parser -> cameras table
Add parse_odot_json (Esri-style cctvinventory.js) next to parse_caltrans_json: JPEG snapshot_url, discovery_source=odot, Oregon bbox + filename guard, no RTSP. Wire dispatch + default CAMERA_SOURCE_URLS entry. Unit tests.
This commit is contained in:
parent
47c726d68d
commit
41433be574
3 changed files with 95 additions and 1 deletions
|
|
@ -25,6 +25,8 @@ _DEFAULT_SOURCE_URL = ",".join((
|
|||
"https://raw.githubusercontent.com/willytop8/Live-Environment-Streams/main/streams.geojson",
|
||||
# Official Caltrans CWWP2 JPEG + HLS CCTV (districts 1–12).
|
||||
*CALTRANS_CCTV_URLS,
|
||||
# Oregon DOT TripCheck public CCTV JPEG inventory (Esri JSON).
|
||||
"https://www.tripcheck.com/Scripts/map/data/cctvinventory.js",
|
||||
))
|
||||
CAMERA_SOURCE_URLS = [
|
||||
u.strip()
|
||||
|
|
|
|||
Loading…
Reference in a new issue