Files
gods-eye-view/src/data/fixtures
Sameh Khamis 076d264982 Hide street vehicles behind low walls and trees seen from above
In a dense downtown view from about 400 m up, the occlusion margin of
max(3 m, 2% of the range) came to 14 to 20 m, so a wall, awning, tree or
lower facade standing 10 to 20 m in front of a street was read as the
road itself: the vehicle's dot was hidden by the scene, but its bracket and
callout were still drawn. Checked against scene.pickPosition in one such
view, 18 of 470 vehicles in frame fell in that band.

The margin now depends on how steeply the camera looks down on the
contact. A point on the line of sight s metres in front of a vehicle
stands s * sin(elevation) above it, so a surface there hides the vehicle
once that rise passes 2 m. The margin stays at least 3 m and at most 2%
of the range, so grazing and street-level views are unchanged. In the
same views no vehicle with the drawn surface within 3 m in front of it
(its own road) is newly hidden.

From the review of the first change:

- A contact back in view after longer than a retest interval is held back
  and retested like a new one, instead of being drawn from an answer
  given before it left the view. It gets a fresh record, so a test still
  in flight from before cannot end the hold-back either.
- The hold-back for a contact's first answer stretches with the retest
  pace when a crowded view slows it.
- A batch whose control point failed no longer counts as a first answer.
- An unknown log-depth flag reads as "no depth" rather than as standard
  depth, which would have put every surface in front of every contact.
- A shader that fails to build leaves no shader behind and is not built
  again on the same context.
2026-11-10 15:08:26 -08:00
..

Test fixtures

  • photon-moscow-search.json - Photon responses for Москва, captured 2026-11-05 with and without a proximity bias near the Tajikistan namesake. The fixture is trimmed to the fields the keyless geocoder consumes and is used only by offline search tests. Data from OpenStreetMap contributors, ODbL 1.0 (https://www.openstreetmap.org/copyright).

  • tomtom-flow-austin-12-935-1686.pbf — one real TomTom traffic-flow vector tile (Mapbox Vector Tile protobuf, layer "Traffic flow"), downtown Austin z12 x935 y1686, captured 2026-07-16 from api.tomtom.com/traffic/map/4/tile/flow/relative/12/935/1686.pbf (22,980 bytes). Used by offline decode/source tests and the explicit qa-traffic --fixtures browser mode — it is a point-in-time congestion snapshot, not a bundled data layer, and is never loaded by ordinary application startup. © TomTom.

  • adsb-austin-frames.txt — 112 raw Mode S frames (*<hex>;, one per line, in receive order) received over Austin, TX, and adsb-austin-dump1090-aircraft.json — dump1090-fa's aircraft.json decode of the same frames, trimmed to the fields the tests assert on. Used by the Local ADS-B decoder and record-adapter tests; never loaded at runtime.

  • adsb-austin-capture-timed.json — a second ~90 s receive over Austin, TX: 846 extended squitters from six aircraft (frames: [ms, hex]), with dump1090-fa's decoded positions and emitter categories for the same interval (dump1090: per ICAO flight, category and fixes as [ms, lat, lon]). The capture has no per-frame timestamps; each frame's time is interpolated between the frames whose decoded position equals a dump1090 fix, timed as dump1090's now − seen_pos. Used by the decoder's category, speed-check and track-accuracy tests; never loaded at runtime.

  • ofm-austin-{14-3743-6745,12-935-1686}.pbf and ofm-camp-mabry-12-935-1685.pbf — OpenFreeMap / OpenMapTiles tiles from https://tiles.openfreemap.org/planet/20260913_164504_pt/{z}/{x}/{y}.pbf, retrieved 2026-09-23. Trimmed to one transportation feature per class/direction and one military landuse feature, preserving original geometry and dictionaries. OpenFreeMap © OpenMapTiles Data from OpenStreetMap; © OpenStreetMap contributors, ODbL 1.0 (https://www.openstreetmap.org/copyright). These modified data fixtures retain ODbL attribution and database share-alike; commercial use and redistribution are permitted under that license. Test-only.

  • osm-alpr-austin-11-467-843.pbf — one OSM camera feature (original geometry and attribute dictionary) from the community-hosted hourly US extract, https://tiles.dontgetflocked.com/cameras-us-hourly/11/467/843.mvt, retrieved 2026-09-23. © OpenStreetMap contributors, ODbL 1.0; modified by trimming to one feature, test-only. Same attribution/share-alike terms above.

  • traffic-road-access.json — representative transportation properties and two original vertices per feature near the Texas Capitol, Camp Mabry greenbelt, and Austin commercial car parks, from OpenFreeMap z14 tiles, retrieved 2026-09-25. Each record names its XYZ tile and expected traffic eligibility. Modified, test-only OpenStreetMap data; same ODbL attribution and database share-alike terms as the OpenFreeMap fixtures above.

  • ofm-outlines-austin-14-3743-{6745,6746}.pbf — OpenFreeMap / OpenMapTiles z14 tiles from https://tiles.openfreemap.org/planet/20260913_164504_pt/{z}/{x}/{y}.pbf, retrieved 2026-09-28. Trimmed to the transportation_name features for Congress Avenue, South Congress Avenue and East 11th Street, and the building features within about 150 m of the Texas Capitol and the landcover park polygon around it, preserving original geometry and dictionaries. Used by the street and building outline tests. Same OpenFreeMap / OpenMapTiles / OpenStreetMap attribution and ODbL 1.0 share-alike terms as the fixtures above. Test-only.