mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-05-21 15:14:55 +02:00
Per OFFROUTE-ARCHITECTURE.md §9 ("planet-dem.pmtiles as single elevation
source"). The bundle endpoint previously called Valhalla /height, which only
has 48 Idaho HGT tiles; it now reads the planet-scale Terrarium PMTiles that
already back the frontend hillshade and contours.
- dem.py: add DEMReader.sample_point(lat, lon) — one z12 tile (LRU-cached),
Web-Mercator pixel index, None outside the +/-85.05 pole cap or when untiled.
- netsyms_api.py: module-level DEMReader singleton (lazy mmap, None if init
fails); _reverse_elevation now calls _DEM.sample_point; drop the Valhalla
HTTP call and _VALHALLA_HEIGHT_URL.
- tests: DEM-mock and DEM-unavailable cases; EXPECTED_KEYS derives from
_BUNDLE_KEYS. All 9 tests pass.
Verified live: Boise 824m, London 8m, Tokyo 35m, Yosemite 2804m, pole -> None.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| acquisition | ||
| offroute | ||
| processors | ||
| __init__.py | ||
| address_book.py | ||
| address_book_api.py | ||
| address_book_test.py | ||
| api.py | ||
| api_keys_admin.py | ||
| aurora_nav_tool.py | ||
| auth.py | ||
| contacts.py | ||
| contacts_api.py | ||
| deployment_config.py | ||
| dispatcher.py | ||
| embedder.py | ||
| enricher.py | ||
| extractor.py | ||
| filing.py | ||
| geocode.py | ||
| geocode_test.py | ||
| google_places.py | ||
| ingester.py | ||
| key_manager.py | ||
| landclass.py | ||
| nav_tools.py | ||
| nav_tools_test.py | ||
| netsyms.py | ||
| netsyms_api.py | ||
| netsyms_test.py | ||
| new_pipeline.py | ||
| organizer.py | ||
| osm_categories.py | ||
| overture.py | ||
| peertube_collector.py | ||
| peertube_scraper.py | ||
| place_detail.py | ||
| query_router.py | ||
| query_router_test.py | ||
| reverse_bundle_test.py | ||
| scraper_runner.py | ||
| status.py | ||
| utils.py | ||
| web_scraper.py | ||
| wiki_rewrite.py | ||
| zim_monitor.py | ||