A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.
JavaScript 3d-globecesiumflight-trackinggeospatialgeospatial-intelligencegisosintphotogrammetrysatellite-trackingspatial-intelligencewebglworldview
Merge branch 'main' into fix/cap-remaining-upstream-reads
Sameh Khamis1bb8643a284a
diff --cc CHANGELOG.mdindex 20c7ea1e2,b31cb8475..e02267966--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -95,14 -147,82 +147,90 @@@## [Unreleased]+- Bound the remaining upstream body reads (FIRMS, CelesTrak, adsb.lol,+ TomTom, OpenSky, adsbdb) with streaming size caps and shared deadlines; the+ adsb.lol military poll gains a deadline of its own.++- Keep later satellites when a TLE catalog entry is missing an orbital line.+ The parser skips the incomplete set and resumes at the next complete named+ set, instead of losing the rest of the group (#906).++ - Satellite clouds keep Clouds only / Full as quick endpoints and add a continuous+ cloud-filter slider: 0% is Full, 100% is the existing brightness key, and+ intermediate values blend the keyed alpha. The slider commits on release to+ avoid restaging imagery for every drag event. Filter percentages round-trip in+ share links; legacy mode codes retain their old endpoint meanings. Background+ panel refreshes preserve the pending drag value until release. Contributed by+ [NotProniss](https://github.com/NotProniss) (#1084).++ - Street Level: Panoramax is the fourth provider, keyless. Light its chip+ (orange; off by default, one provider at a time): from orbit dots show+ where the federated commons has pictures, and below about 60 km its+ sequences draw as lines from `api.panoramax.xyz` vector tiles. A click on a+ line opens that sequence's picture nearest the click without moving the+ camera, flat or 360°, with cones along the sequence around it and ‹ › /+ ← → following the picture's own links. The 360° and since filters apply,+ in the lines and in the lookup. The caption names each picture's author+ and licence (CC BY-SA 4.0, Licence Ouverte 2.0…) and links to it in the+ Panoramax viewer. HD originals load once, only when the viewer is wider+ than the 2,048 px version (a panorama: expanded), and every download stops+ when the photo changes; an image whose header declares more than 64 MP is+ refused before it decodes. Share links carry it as+ `0.m.0_0.r.google-0*kartaview-0*panoramax-1` (`0.m.0_0.r.panoramax-1` works+ too). KartaView's photo viewer+ is now shared (`photoViewer.js`, `panorama.js`); in it, for KartaView too,+ Esc clears the selected drive before it collapses the panel. Lines are+ simplified and drawn within a point budget (a tile's unsimplified lines+ over Paris hung the tab), decoded in slices so the globe keeps moving,+ and kept; the cones' tiles have their own connection, and the open+ picture's tile draws its cones before its neighbours arrive.++ - Flights and Military Flights highlight emergency transponder broadcasts in+ fleet billboards, 3D models and Cockpit contacts. Colors update when a status+ starts or clears. Emergency squawks outrank ADS-B priority statuses; GEV+ reports minimum fuel and lifeguard without red tint. Cockpit names the code+ or ADS-B status, and analyst/voice results retain broadcast provenance and+ the latest known contact time. One omitted ADS-B status poll during a source+ switch may retain the previous status if the squawk is unchanged; an explicit+ clear takes effect immediately. Broadcasts are not confirmed incidents.+ Contributed by [Leo Pechnicki](https://github.com/leopechnicki) (#856).++ - Street Level: KartaView is the third provider, keyless. Light its chip+ (purple; off by default, one provider at a time) and zoom in below about+ 6 km: the lines are the streets KartaView has photos of (z13–14 tiles from+ `api.kartaview.org`). A click on a line opens the photo nearest the click+ without moving the camera, flat or 360° (a small WebGL panorama: drag to+ look, wheel to zoom), with cones along its drive and ‹ › / ← → to step+ through it. The caption links to the full-size photo (KartaView's photo+ pages fail for signed-out visitors), and the globe credits "© KartaView+ contributors, CC BY-SA 4.0". Share links carry it in the provider+ switches (`0.m.0_0.r.google-0*kartaview-1`). Archived photos (KartaView+ answers 409) are skipped by the click and by ‹ ›. Shift+← →, ↑ ↓, + − and+ pinch look around a 360° photo. The open photo's marker is a purple view+ cone pointing along the drive (KartaView's own compass headings are often+ 0 or far off). The IMAGERY (ALL / 360° / FLAT) and SINCE filters apply to+ KartaView as to Mapillary: its lines are filtered by KartaView's own+ server (its filtered PNG tiles, as a mask over the JSON lines), and the+ photo a click opens, and the cones, by each photo's projection and upload+ date. KartaView's SINCE is the upload date (all its server can filter by);+ a note under the slider says so while KartaView is lit (`sinceBasis:+ 'upload'` in the provider contract).+ Mapillary's line coverage and sequence cones are now shared by both+ (`lineCoverage.js`, `sequenceCones.js`).++ - Street Level: Google Street View is the second provider. On the Google 3D+ map (Google's terms keep it off other maps), light its chip (off by+ default: every panorama is billed to the Google Maps key, which needs the+ Maps JavaScript API) and click a street, or press OPEN STREET VIEW, to+ open Google's own panorama in+ the panel, with its arrows, the address and month in the caption, a link+ to Google Maps and FOLLOW. Share links carry it in the provider switches+ (`r.google-1`). One provider is lit at a time (lighting one switches the+ other off), Mapillary by default since it is free. Street View's panoramas+ are all 360°, so the IMAGERY and SINCE filters and the legend apply to+ Mapillary only and hide while GOOGLE STREET VIEW is lit; its globe marker+ is a Google-blue view cone.+- Add an experimental ChatGPT/Codex OAuth option for cloud voice in ProviderSettings. API-key voice remains the default. Local sign-in can start fromthe auth button and reports completion, failure, timeout, or expireddiff --cc docs/CURRENT-STATE.mdindex a749c6b2c,eea578427..59ed6b37a--- a/docs/CURRENT-STATE.md+++ b/docs/CURRENT-STATE.md@@@ -1096,26 -1182,16 +1182,35 @@@ The station reader addresses the proxyfeed address is read from the path, and a query-string form is refused with a 400. GBFS refuses upstream redirects and enforces its 5 MiB response cap whilestreaming. The 12-second deadline includes reading the body, and rejected orstalled downloads are cancelled. Development and preview use the same handler.+ Every upstream request carries `Client-Identifier: gods-eye-view`, which Urban+ Sharing asks of clients of the Oslo, Bergen and Trondheim Bysykkel feeds+ (`gbfs.urbansharing.com`); other operators ignore it. Requests to Entur+ (`api.entur.io`, Kolumbus and Farte Bysykkel) also carry+ `ET-Client-Name: gods-eye-view-bikeshare`. Entur serves its feeds without a+ `.json` suffix, so the endpoint check accepts `station_information` and+ `station_status` with or without it. Hosts that front more than GBFS are kept to+ their GBFS tree: `api.entur.io` to `/mobility/v2/gbfs/` and `api.cyclocity.fr`+ (Bysykkel Lillestrøm) to `/contracts/`.+## Upstream body bounds++FIRMS CSV, CelesTrak TLE groups, adsb.lol military responses, TomTom flow+tiles, OpenSky states/all and adsbdb lookups now read their bodies through the+shared streaming readers in `src/sources/httpBody.js`, so a declared or observed body+over the cap is refused with `RESPONSE_TOO_LARGE` and cancelled rather than+buffered. `readResponseBytesCapped` accepts the same optional abort signal as+the text reader and cancels a body still streaming when it fires; TomTom flow+tiles use it alongside GTFS-Realtime. Caps are bounds, not budgets, sized well+above measured payloads: FIRMS 64 MiB per satellite source, CelesTrak 16 MiB+per group, OpenSky `states/all` 8 MiB, adsb.lol `/v2/mil` 8 MiB, TomTom tiles+8 MiB and adsbdb lookups 1 MiB. Where a route already had a deadline (FIRMS+60 s, CelesTrak 20 s, TomTom 15 s, adsbdb 8 s, and each 10 s OpenSky+`states/all` attempt) that deadline now covers the body read as well as the+headers. The adsb.lol military poll, which had no deadline, now waits at most+12 seconds. A rejected or timed-out body is an upstream miss and follows each+route's existing error and cached-data paths. FIRMS map-key status, the OpenSky token exchange and CCTV+media keep their current handling.+## Remaining local service modulesOverpass query validation, geometry simplification, disk caching and upstream