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 branch 'main' into fix/cctv-missing-numbers

Sameh Khamisccd38c0c443a
diff --cc CHANGELOG.md
index 86f26a481,8ee00d839..05e3cff23
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -1,19 -1,52 +1,66 @@@
# Changelog
+- Keep missing CCTV numbers unknown instead of reading them as zero. `Number`
+ turns null, blank strings and booleans into 0 or 1, and the camera source
+ list sends an unknown number as JSON null, so a source-pack camera that left
+ out its pose reached the browser as zeros clamped to each field's floor —
+ facing north, pitch −2°, FOV 20°, range 120 m, mount 6 m and ground 0 m —
+ instead of the defaults (id-hash heading, −17°, 74°, 700 m, 24 m and the
+ city's ground); a null or blank position placed the camera at 0,0. The
+ server's `toFiniteNumber` and the browser's `safeNumber` now treat absent,
+ blank and boolean values as missing. The same conversion also stops a
+ Tallinn row with a null heading reading as a confident north-facing camera,
+ a Caltrans camera with a blank elevation losing its 150 m ground prior, and
+ a TfL or Catalonia camera with a null or blank coordinate being kept at 0,0
+ or on the zero meridian.
+
+ - Local FM seek finds stations after wrapping around 87.5–108 MHz, covers both
+ band edges, skips the starting station and rejects spectra from an earlier
+ tune (Aditya, @Rohilalala, #1174).
+ - Local RTL-SDR keeps USB reads queued in order and bounds pending decoder
+ work. A stalled or overloaded decoder stops with an explicit error; stopping
+ terminates its worker and rejects late audio. FM playback buffers short
+ scheduling gaps, caps its audio queue at 256 ms, and reduces display updates
+ and spectrum calculations while listening.
+
+ - Add Bogotá (Tembici, 250 stations) and Santiago de Chile (Bike Itaú, 200
+ stations) to the GBFS bikeshare registry, the layer's first stations in
+ Colombia and Chile. Both are PBSC feeds like the Brazilian Bike Itaú cities,
+ so no proxy change is needed. Both feeds also list depot stations on other
+ continents (São Paulo, Madrid) as in service; stations outside a city's load
+ radius are now dropped instead of drawn as live docks.
+
+ - Add Barcelona's bike share to the GBFS registry: Bicing (543 stations, the
+ city's PBSC system) and AMBici (237 e-bike stations across the metropolitan
+ area, run by nextbike). Both are keyless GBFS 2.3 feeds listed in
+ MobilityData's systems catalogue; AMBici's is CC0. `gbfs.nextbike.net` joins
+ the proxy allowlist. These are the layer's first stations in Spain.
+
+ - Add nine Ontario transit feeds: TTC, MiWay, Hamilton HSR, Durham Region,
+ YRT/Viva, Guelph, Burlington, Barrie and Kingston, each carrying its own
+ licence quote and attribution. A feed can now name its own modes, so Toronto's
+ trams read "Streetcar" while Helsinki's stay "Tram", and a feed whose route ids
+ are internal keys can translate them to the number a rider would say. TTC
+ vehicles take their mode from the fleet number first, so replacement buses on
+ streetcar routes read as buses and out-of-service streetcars stay streetcars.
+
+ - CCTV cameras with identified hardware show the model's datasheet specs. When a
+ source names a camera model found in the vendored CCTV Camera Database records
+ (CC0), the HUD meta line adds its resolution, night vision and PTZ capability.
+ A fixed single-lens model's horizontal FOV fills in when the source states no
+ FOV and the pose is not curated (`FOV n° (DATASHEET)`); a PTZ or varifocal
+ range is what the lens can do, not its current zoom, so those cameras keep the
+ estimate and show `SPEC FOV min–max° (CAPABILITY)` beside it (bassem chagra,
+ #452).
+
+ - Ship a web app manifest and raster home-screen icons, so adding the app to a
+ phone home screen or installing it on desktop uses the God's Eye View mark
+ instead of a blank tile. The icons are generated from `public/logo.svg` by
+ `node scripts/generate-icons.mjs` and committed, so a plain `vite build` needs
+ no image toolchain. The existing SVG favicon still serves the browser tab.
+ Manifest paths are relative to the manifest, so a build served under a path
+ prefix installs and launches inside that prefix.
+
- 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