Commit Graph
4883 Commits
Author SHA1 Message Date
German Khokhlov 81a6faca9a Merge branch 'main' into fix/cockpit-ride-transit-rail 2026-11-19 00:52:48 +04:00
Sameh Khamis 2a0a3a9b99 Merge pull request #1816 from bilawalsidhu/manjunath/wikidata-places
Search box, part 2: bundle smaller Wikidata settlements for nearby places
2026-11-18 12:50:35 -08:00
German Khokhlov 63817846fc Merge branch 'main' into fix/cockpit-ride-transit-rail 2026-11-19 00:40:42 +04:00
Sameh KhamisandManjunath Paparaju 88919f760f Keep a lookup's places when one tile fails, and ship every tile as its own file
- A tile that cannot be read is left out of placesNear's answer instead of
  failing it; without the pack's index the cities are still the answer.
- The build no longer inlines the small tiles into one chunk that loaded
  with the first lookup: all 732 are their own files.
- A row at latitude 90 or longitude 180 is tiled where the lookups read it.
- --min-population 0 is taken as 0, not as the default.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 12:36:16 -08:00
Sameh KhamisandManjunath Paparaju 2a01269b87 Add the changelog entry for the Wikidata places pack
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 12:36:16 -08:00
Manjunath PaparajuandSameh Khamis 78305411eb Bundle smaller Wikidata settlements for nearby-place lookups
137,662 places of 1,000 to 14,999 people that Wikidata gives a population
and coordinates for, none already in the cities pack, in 732 tiles of
5 x 5 degrees with an index of row counts (CC0). Nothing loads with the
app: a lookup reads the index once and then only the tiles it touches.
placesNear lists the places around a point, and findPlace finds a small
place by name near the view when no city of that name is near. The cities
build script writes the tiles with --tiles; the step from rows to files is
checked offline.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-18 12:36:16 -08:00
Sameh Khamis 328b8f5d1b Merge pull request #1814 from bilawalsidhu/manjunath/place-suggestions
Search box, part 1: suggest places from Photon while a place is typed
2026-11-18 12:33:50 -08:00
German Khokhlov ee0440e813 Merge branch 'main' into fix/cockpit-subject-camera-hud 2026-11-19 00:28:46 +04:00
German Khokhlov c5fede952f Merge branch 'main' into fix/cockpit-ride-transit-rail 2026-11-19 00:28:44 +04:00
German Khokhlov 83081730c0 Move only the anchor's height when the floor height arrives
- The first height that replaces the entry frame's now moves only the
  anchor's height. The anchor keeps its place and its eased lift, so the
  camera no longer jumps to a corrected fix or steps back.
- A detail line is measured with the title's glyph widths. They are a
  little wide for its smaller type, so a long detail line is no longer
  clipped.
- The first aircraft update is checked in the existing test, and the copy
  is removed; test fixtures are simpler.
- Comments, the release note and CURRENT-STATE match the code.
2026-11-19 00:26:57 +04:00
German Khokhlov e8ef4d1293 Reset a train's turn point on a new playback epoch
- A clock correction starts a new epoch, and playback may first draw its
  second report. The turn point now resets on a new epoch as well as on a
  break, so a standing train no longer turns around after a correction.
- recallDirection and earlierFixes are gone: comparing each earlier report
  with the newest turned a standing train on GPS jitter. A train bound when
  its line arrives late shows no direction until it has moved 15 m.
- Tests share reportDirections, iconOf and the playback helper.
- Comments and CURRENT-STATE match the code.
2026-11-19 00:26:57 +04:00
Sameh KhamisandManjunath Paparaju c06aa37ce2 Keep the place suggester's fair-use and privacy promises
- One spacing, pause and cache for the whole tab, so a search box put up
  again does not start afresh.
- A failed request or a timeout pauses suggestions for a minute, as a
  refusal does.
- A number named as a card, a phone or an account keeps its digits
  together, so no address is read out of them; a UK postcode written
  without its space is a place, not a password.
- The docs say exactly what is sent.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 12:20:42 -08:00
Sameh KhamisandManjunath Paparaju 9ec95102ca Add the changelog entry for the place suggester
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 12:20:42 -08:00
Sameh KhamisandManjunath Paparaju c11200976f Say what the place suggester sends to Photon
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 12:20:42 -08:00
Manjunath PaparajuandSameh Khamis bd7b389cef Suggest places from Photon while a place is typed
The suggester asks Photon, the place search's keyless geocoder, for
candidates as a place is typed: at most one request every 500 ms, a six
second limit, and none for a minute after a refusal. Text that may be
private (an email address, seven or more digits however separated, an
IBAN shape, a password, PIN, token or key) is never sent. It also lists a
region's bundled cities and tells whether a place lies in an extent, for
the search box's place strip. The browser's Photon setting is read in one
place.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-18 12:20:42 -08:00
Sameh Khamis 2bbcc73f03 Let an application leave the Data Library out (#1815)
* Let an application leave the Data Library out

* Changelog fragment for #1815
2026-11-18 12:16:15 -08:00
Sameh Khamis 4f1a4a3f2a Let an application ask the library catalog with its own fetch (#1810)
createApplicationTools({ library: { fetchImpl } }) hands the fetch to the library source, so a server that wants the application's credentials on its library routes answers the catalog instead of refusing it.
2026-11-18 09:17:33 -08:00
German Khokhlov c190e662bc Stand an inertial subject on its floor once the floor arrives
- The first floor height that replaces the entry frame's height re-anchors
  the camera and resets the smoothed rise, so the subject stands on the
  floor within a second instead of hovering above it.
- A provider's thenable gets one rejection handler; frame fields and eye
  are read once each.
- A progress label's width counts the smaller detail line and full-width
  and astral glyphs.
- Tests cover the first camera update of an aircraft and a vessel, a
  double-click on a selected vessel, a tone-only Live Signals change and a
  getter that throws on its second read; repeated cases share helpers.
- Comments, the release note and CURRENT-STATE say which height the camera
  holds while it waits for the surface and how a Live Signals row keeps
  its time.
2026-11-18 20:49:21 +04:00
German Khokhlov 58afb169d1 Keep a standing train's direction through jitter and missing bearings
- GPS jitter under 15 m at a standing train no longer turns it, in reports
  and in playback; a reversal needs at least 15 m of movement.
- A standing train keeps its operator's last bearing through reports that
  leave it out.
- Playback resets its turn point at a break, so a jump to a corrected
  position is not a reversal.
- A train bound while its line is still loading takes its direction from
  the movement it already made.
- A vehicle in view that leaves a Transit hold goes on from its own clock
  instead of rewinding.
- Tests cover the 15 m boundary, the late line, the hold release and the
  icon after Transit is turned back on; duplicate jitter tests are merged.
- FOLLOW_MIN_MOVE_M is gone; comments and CURRENT-STATE match the code.
2026-11-18 20:49:15 +04:00
German Khokhlov 6b05cd58b9 Merge pull request #808 from kvnloo/exp/cctv-target-navigation
feat(cctv): focus nearest camera to an explicit point
2026-11-18 17:55:04 +04:00
manjunath22466 7312280817 fix(earthquakes): address review follow-ups on click arbitration
A drifting touch tap or a cockpit-mode tap on a fire, quake or vessel card
beside an aircraft did nothing: the cards deferred to the aircraft, whose
click handler ignores such taps. Pick owners can now declare the clicks
they ignore (registerPickOwner(..., { declinesClick })); flights and
military decline a drag or a cockpit tap and CCTV declines any click that
is not clean, so a card over them keeps that tap.

Also from review:
- the selected quake's contour rings sit on the ground the disc is draped
  on, re-read through the heights service while they paint;
- a label's fly-to frames the whole disc for large quakes;
- a quake that ages out of the feed clears its selection as evicted;
- id-less quakes are named by their content, not their row;
- the Bhote Koshi trigger-record callout opens its source on a click, as
  its keyboard action does, and yields like the other cards;
- the card's place line is cut to 48 characters, its link hint shows only
  with an opener, and its accessible name carries depth, place and time; a
  link-less card's click and keyboard action fly to the quake;
- camera trace comparison scales its tolerance with the value and wraps
  heading and roll.
2026-11-18 19:19:41 +05:30
German Khokhlov 7acc917ae0 Merge branch 'main' into exp/cctv-target-navigation 2026-11-18 17:39:59 +04:00
German Khokhlov de38868582 Merge pull request #881 from kvnloo/perf/imagery-stale-thumbnail-cancellation-20260929
perf: cancel superseded Recent Imagery thumbnail work
2026-11-18 17:39:34 +04:00
German Khokhlov 5ed27a9131 Merge branch 'main' into perf/imagery-stale-thumbnail-cancellation-20260929 2026-11-18 17:25:46 +04:00
German Khokhlov c8a24ec108 Merge pull request #1210 from daikaginza/fix/i18n-installations-note
fix(analyst): keep the Mapped Installations note English in data
2026-11-18 17:23:23 +04:00
German Khokhlov e4e7b32289 refactor(i18n): show the installations status through translateStatusMessage 2026-11-18 16:52:52 +04:00
German Khokhlov dc13be07c0 docs(i18n): tighten the Mapped Installations status comments 2026-11-18 16:48:59 +04:00
German Khokhlov 93f848d8b1 Check point coordinates without coercion and drop tests main already covers 2026-11-18 16:45:59 +04:00
German Khokhlov bd84fab552 refactor(imagery): drop unused cancellation counters and impossible-case guards 2026-11-18 16:41:04 +04:00
German Khokhlov a0db300d54 docs(imagery): tighten cancellation notes and match them to the code 2026-11-18 16:39:56 +04:00
German Khokhlov ed586a40a1 Tighten the point-navigation doc comments and state note 2026-11-18 16:38:25 +04:00
German Khokhlov 6e70793f66 Merge branch 'main' into exp/cctv-target-navigation
# Conflicts:
#	docs/CURRENT-STATE.md
#	src/layers/cctv/navigation.js
2026-11-18 16:36:41 +04:00
German Khokhlov 93b091d082 Merge branch 'main' into fix/i18n-installations-note
# Conflicts:
#	scripts/package-boundaries.json
#	src/layers/installations/controls.js
2026-11-18 16:35:52 +04:00
German Khokhlov 3348e3517e Merge branch 'main' into perf/imagery-stale-thumbnail-cancellation-20260929
# Conflicts:
#	docs/CURRENT-STATE.md
2026-11-18 16:35:39 +04:00
German Khokhlov cd8033f534 Merge pull request #1169 from willrenzo39/feat/australia-transit
feat(transit): add TransLink Cairns and route labels; Adelaide train and tram modes
2026-11-18 15:36:16 +04:00
German Khokhlov 109bb0fd4f Tidy the Cockpit subject camera and HUD fixes after review
- A provider's look, height and speed are read once, so a getter that
  answers once is not lost; a Promise in a provider's words is refused and
  its rejection handled.
- A huge heading slew rate is capped at a half turn per step instead of
  overflowing to Infinity.
- A row changed in place keeps the time it first appeared; JSDoc,
  CURRENT-STATE and the ETA test say so.
- APPLICATION.md says the app page must load the entry icon's glyph.
- Tests check that entry succeeds, the vessel bridge is entered, a floor
  takes over from the entry height (also at 0 m), and share helpers;
  the provider unit test moves to the provider tests.
- WIDE_GLYPH uses escapes; comments, the release notes and CURRENT-STATE
  match the code.
2026-11-18 15:07:20 +04:00
German Khokhlov df4d76384c Tidy the Rail and Transit ride fixes after review
- A train first seen standing takes its direction from the operator's
  course, not from a course drawn out of GPS jitter.
- Moving a hold to another vehicle releases the first one the same way as
  ending the hold.
- repaint always goes through placeSample, which hides the held vehicle and
  puts it on its current segment, so setShown is no longer exported.
- Tests cover the icon right after a hold, a segment with one known floor,
  a known floor at 0 m and selection by click after the layer comes back;
  shared helpers replace repeated setup.
- Comments, CURRENT-STATE and the release note say what the code does
  without internal figures.
2026-11-18 15:07:06 +04:00
German Khokhlov a72c0ba237 Fix tone-only signal changes, the first anchor step, row order and emoji widths
- A provider's Live Signals row now changes when only its tone does; fields
  are compared one by one instead of through a joined signature.
- The frame that first sets an inertial subject's anchor puts it on the
  subject, so the view no longer jumps ahead after waiting for the floor.
- The subject HUD drops vanished rows before it adds new ones, so
  TRACK ACQUIRED and a steady warning keep their place.
- Progress labels give astral-plane glyphs such as emoji at least main's
  width, so they are not clipped.
2026-11-18 14:32:45 +04:00
German Khokhlov ee5a6ab317 Turn a train that backs away steadily, however small each step
The direction now follows how far a train has come back from the farthest
point it reached, so a slow reversal of under 15 m per report still turns it,
while GPS jitter around one spot does not. Rail policy takes the 15 m figure
from pathBinding instead of repeating it.
2026-11-18 14:32:36 +04:00
German Khokhlov e0437cfacb Merge branch 'main' into feat/australia-transit 2026-11-18 13:52:55 +04:00
Sameh Khamis 9554d6ea71 Serve the Data Library from any server, and let a server shape it (#1807)
A server can answer the library with createLibraryHandler, a fetch handler, and shape what it offers: hide entries (listed: false) or route browser-direct ones through itself (fetch: proxied). View-bounded entries ask for a grid-snapped box, and GeoParquet is read on the server within it. Applications can pass their own tile and data fetchers (createApplicationTools({library: {fetchTile, fetchData}})), and with library.requireCatalog a catalog that does not answer offers nothing and is asked again later. Tile paths have one spelling: integer z/x/y without leading zeros, within the grid and the entry's zooms. A server's index and partition reads are bounded and counted against its subrequest limit.
2026-11-17 23:34:00 -08:00
Sameh Khamis 7b4c84a717 Merge pull request #1806 from bilawalsidhu/feat/cesium-viewer-hook
Hand the application the renderer's own engine
2026-11-17 22:30:46 -08:00
Sameh Khamis a62b442bfc Add the changelog entry for the engine hook 2026-11-17 22:19:33 -08:00
Sameh Khamis 0e6973e0b2 Hand the application the renderer's own engine
An application may draw with a renderer's engine directly beside the
contract. ApplicationHooks gains engine, whose kind names the engine;
Cesium's plugin hands {kind: 'cesium', viewer}. An application draws only
with engines whose kind it knows, and what it draws is its own to add,
update and remove.
2026-11-17 22:19:21 -08:00
Sameh Khamis 747082a5eb Name the changelog entry for its pull request number 2026-11-17 21:46:37 -08:00
Sameh Khamis eb82842e0d Name the world timeline's real-time speed Real-time
The speed control's first entry runs the world clock at real time, which 1× did not say beside 1 min/s, 1 h/s, 1 d/s and 1 wk/s. It now reads Real-time, translated in every catalog.
2026-11-17 21:46:32 -08:00
Sameh Khamis 96fac711f4 Merge pull request #1802 from bilawalsidhu/fix/bikeshare-coverage
Bike Share marks its covered cities on the globe
2026-11-17 21:33:14 -08:00
Sameh Khamis 8a5f53004f Merge branch 'main' into fix/bikeshare-coverage 2026-11-17 21:20:50 -08:00
Sameh Khamis dc739eb75e Merge pull request #1804 from bilawalsidhu/fix/route-steps-export
Export route steps from sources/places
2026-11-17 21:20:42 -08:00
Sameh Khamis ce3fc4bc83 Merge remote-tracking branch 'origin/main' into fix/bikeshare-coverage
# Conflicts:
#	src/i18n/locales/ar.json
#	src/i18n/locales/de.json
#	src/i18n/locales/es.json
#	src/i18n/locales/fr.json
#	src/i18n/locales/he.json
#	src/i18n/locales/it.json
#	src/i18n/locales/ja.json
#	src/i18n/locales/pt.json
#	src/i18n/locales/ru.json
#	src/i18n/locales/sv.json
#	src/i18n/locales/uk.json
#	src/i18n/locales/zh-CN.json
#	src/i18n/locales/zh-Hant.json
2026-11-17 21:08:44 -08:00