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 remote-tracking branch 'origin/main' into feat/cctv-vegvesen-kartverket-heights

Trygve Hemminghytt1e1ddfca0f83
diff --cc CHANGELOG.md
index 152279ea0,1b3876f79..1adbd599e
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -2,21 -2,22 +2,37 @@@
## [Unreleased]
+ - Street Level: a street-level imagery layer modelled on the iD editor's photo
+ overlay, with Mapillary as its first provider (free client token, CC BY-SA 4.0
+ imagery). One right-rail panel holds a chip per provider, shared 360°/flat and
+ captured-since filters, and an embedded viewer with EXPAND, FIT/FILL and
+ FOLLOW (Google 3D only). Coverage lines and image cones are drawn from orbit
+ down to a single street; on Google 3D they sit on the bare earth, refined
+ against the rendered mesh near the camera, so trees and buildings hide them.
+ Share links carry the provider switches, the filters and the panel's collapsed
+ state. A server proxy caches Mapillary coverage tiles (24 h, 1 GiB on disk),
+ refuses cross-site requests, rate-limits per IP and backs off when Mapillary
+ rejects the token or rate-limits.
+
+ - The CCTV and Street Level panels are portable: drag the header to float the
+ panel, resize it from any edge or corner, and double-click the header to dock
+ it again. The position persists across reloads.
+
+- Give each Statens vegvesen camera its own ground height from Kartverket's
+ keyless point-height API (CC BY 4.0) instead of one flat 150 m prior, so
+ mountain-pass cameras no longer sit hundreds of metres below the terrain
+ where neither the point-height prior nor the ground snap resolves. About
+ 850 of ~855 cameras get a height; the rest keep the old prior. Requests
+ carry 20 points, the most the API answers from its 1 m terrain model, eight
+ at a time (~6 s cold). Cameras over water use the water surface rather than
+ the sea-floor depth the API returns there; for bridge cameras that is still
+ below the deck. Heights are cached for good and misses for 6 h, so a
+ refresh only asks about new or moved cameras. After a 429, a 5xx or a
+ network failure the lookup stops and backs off (Retry-After, else 10 min).
+ The lane waits at most 12 s from its start; a slower lookup fills the cache
+ for the next refresh. `CCTV_VEGVESEN_HEIGHTS=0` turns it off. Follow-up to
+ #929.
+
- Add Norway's road cameras from Statens vegvesen as a CCTV pack. The camera
list is one keyless GeoJSON request to the agency's OGC API view of its
DATEX 3.1 CCTV table, so no DATEX account is needed. Every working camera