Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

Merge upstream main into feat/tools-area-breakdowns

quanticsoul4772acd75efc7cd4
diff --cc CHANGELOG.md
index b5954b194,1f39f8d96..6312100b8
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -1,11 -1,99 +1,105 @@@
# Changelog
+- `aircraft_in_area` and `vessels_in_area` take `group_by` and `stats`, so an
+ MCP client can ask which countries, aircraft types or ship types dominate an
+ area, or the average altitude or speed, over every match instead of
+ estimating from the returned rows. Operator and type are counted only where
+ the feed reports them.
+
+ - Cyclone advisories no longer go dark while NHC publishes an advisory ahead
+ of its nominal time: advisory and position times up to 90 minutes ahead of
+ the server clock are accepted (previously 5 minutes), so the whole feed is
+ not rejected for about half an hour each advisory cycle.
+
+ - Flights age out vanished aircraft again. OpenSky's routine position-less rows
+ no longer mark every snapshot partial, which had kept vanished and landed
+ aircraft at full opacity for up to five minutes; those rows retain only their
+ own aircraft, and a likely-landed one still leaves on the landed limit.
+
+ - Add WSDOT highway cameras (Washington State) as a keyless CCTV source pack:
+ WSDOT's official Travel Center camera layer, with frames registered only on
+ WSDOT's own image host (partner-hosted cameras such as Oregon DOT and City of
+ Seattle are skipped). Cameras with a single cardinal `CompassDirection` get
+ a high-confidence heading; `B` (both directions), `O`, and unset directions
+ use the shared id-hash fallback at low confidence. By default the 250
+ cameras nearest Seattle and Spokane load; `CCTV_WSDOT_MAX_SOURCES` sets the
+ cap (8–1,200) and `CCTV_WSDOT_ENABLED=0` turns the pack off (bassem chagra,
+ #644).
+
+ - Refuse still-image cameras on the CCTV media relay. `/api/cctv/media` is the
+ live-feed route, but it also relayed any registered still camera through an
+ ordinary fetch that followed redirects to any host, passed through whatever
+ content type came back and had no cap on the body, bypassing every protection
+ `/api/cctv/frame` applies to the same URL. Only HLS, MP4, WebM and MJPEG
+ feeds are relayed now; a still camera, or an unknown id, gets a JSON 404
+ without an upstream request and is served only through `/api/cctv/frame`.
+ The client already loaded stills through `/frame`, so nothing it requests
+ changes.
+
+ - Add Lithuania's public Via Lietuva / Eismoinfo road cameras to CCTV, with published coordinates, on-demand snapshots, attribution and bounded catalog requests. No API key is required. The pack is opt-in (`CCTV_LITHUANIA_ENABLED=1`) because its camera endpoints are the eismoinfo.lt website backend, not a service listed in Via Lietuva's open-data statement, so the licence for the photos is unconfirmed.
+
+ - Add King County road cameras (Washington State) as a keyless CCTV source
+ pack: one public King County DOT ArcGIS layer, fetched with an explicit field
+ list so its staff-name columns are never requested, and frames pinned to the
+ county's own image host and upgraded to HTTPS. WSDOT-owned rows are skipped,
+ and city-owned cameras the county hosts credit their owner. The layer
+ publishes no facing, so headings use the shared id-hash fallback at low
+ confidence. It does publish each camera's hardware, which is served on
+ `/api/cctv/sources` as `model` and `manufacturer`. `CCTV_KINGCOUNTY_MAX_SOURCES`
+ sets the cap and `CCTV_KINGCOUNTY_ENABLED=0` turns the pack off
+ (bassem chagra, #645).
+
+ - Add City of Toronto RESCU traffic cameras as a keyless CCTV source pack: the
+ ~336 municipal cameras the Ontario 511 pack does not carry — downtown
+ arterials plus the Gardiner, DVP, Allen and Lake Shore. The list is the
+ City's own open data feed; frames are built from the documented
+ `loc####.jpg` convention and a digits-only camera number, so the frame proxy
+ is pinned to the portal origin by construction. The dataset publishes no
+ camera facing — its `D1`-`D4` fields describe static 2016 comparison images,
+ not the live pan-tilt-zoom frame — so headings use the shared id-hash
+ fallback at low confidence and are corrected with the calibration gizmo.
+ Carries the required Open Government Licence – Toronto attribution. Disable
+ with `CCTV_TORONTO_ENABLED=0`.
+
+ - Stop one retired bikeshare feed from reporting the whole layer as failed.
+ City feeds are fetched independently, but failure was recorded in a single
+ flag that only a successful *activation* cleared — and an already-loaded city
+ never activates again. A dead feed re-entering camera range therefore latched
+ LOAD FAILED permanently over a map still drawing every other city's stations.
+ Failure is now tracked per city: a city that fails beside others still
+ drawing marks the layer DEGRADED, polls that all fail over previously drawn
+ points read STALE without advancing freshness, and LOAD FAILED is reported
+ only when nothing is left to draw. A city that recovers clears its own
+ failure, a failure is dropped once its city leaves range or the camera rises
+ above the activation altitude, and late results from superseded requests are
+ ignored.
+
+ Repointed the three feeds whose operators had moved: Reddy Bikeshare (Buffalo)
+ to Social Bicycles, Tugo (Tucson) and Trinity Metro (Fort Worth) to PBSC.
+ Dropped CoGo (Columbus) and Broward B-cycle (Fort Lauderdale), whose systems
+ have wound down — CoGo's feed reports no stations and last moved a bike in
+ March 2025. The three repointed feeds were verified live.
+
+ - Add Bike Share Toronto (1,069 stations) to the bikeshare registry. The system
+ publishes the same PBSC GBFS v2 feeds as the Austin, Honolulu and Chattanooga
+ entries, so it needs no new plumbing; a registry test now holds every city's
+ feed URLs against the proxy host and path allowlists, so a city the proxy
+ would refuse fails the suite instead of rendering an empty layer.
+
+ - GBFS v3 station names use English translations when available, then the first
+ usable translation or short name. Empty or malformed names no longer appear as
+ `[object Object]` or interrupt station loading; legacy string names remain
+ supported in the globe and bike-share tools. Thanks to
+ [Kristóf Kékesi](https://github.com/KristofKekesi) (#61).
+
+ - Overpass and military-installation disk caches no longer serve answers from a
+ previously configured `OVERPASS_UPSTREAMS` instance after it is repointed.
+
+ - A Radio Browser mirror answering 204, 205 or 304, or a status outside
+ 200–599, no longer crashes the local dev/preview server. Null-body statuses
+ get an empty body; anything else that cannot become a response fails that
+ mirror so the next one is tried.
+
- Snow flakes sway within a fixed range instead of drifting sideways faster the
longer the app runs; the Wind setting still scales the sway.