mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-05-20 14:44:54 +02:00
New /api/place/<osm_type>/<osm_id> endpoint returns cleaned OSM tag data for PlaceDetail panel enrichment. Routes to local Nominatim (Idaho coverage) first, falls back to Overpass public API for out-of-region queries. Responses cached in SQLite (data/place_cache.db) with no expiry. New modules: lib/place_detail.py (proxy + cache), lib/osm_categories.py (~50 category humanization mappings). Profile YAMLs updated with place_details config block and has_nominatim_details flag. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
45 lines
1,001 B
YAML
45 lines
1,001 B
YAML
# Deployment profile: Regional Pi (multi-state field kit)
|
|
# Template for a Raspberry Pi covering Idaho + surrounding states.
|
|
# Override via RECON_PROFILE env var.
|
|
|
|
profile: regional_pi
|
|
region_name: "Idaho + Neighbors"
|
|
|
|
tileset:
|
|
url: "/tiles/regional.pmtiles"
|
|
bounds: [-125, 40, -104, 49]
|
|
max_zoom: 15
|
|
attribution: "Protomaps © OSM"
|
|
|
|
tileset_hillshade:
|
|
url: "/tiles/hillshade-regional.pmtiles"
|
|
encoding: "terrarium"
|
|
max_zoom: 12
|
|
|
|
traffic:
|
|
provider: "tomtom"
|
|
proxy_url: "/api/traffic/flow/{z}/{x}/{y}.png"
|
|
|
|
place_details:
|
|
local_source: "nominatim"
|
|
local_bbox: [-125.0, 40.0, -104.0, 49.0]
|
|
fallback_source: "overpass"
|
|
|
|
services:
|
|
geocode: "/api/geocode"
|
|
reverse: "/api/reverse"
|
|
address_book: "/api/address_book"
|
|
valhalla: "/valhalla"
|
|
|
|
features:
|
|
has_nominatim_details: true
|
|
has_kiwix_wiki: false
|
|
has_hillshade: true
|
|
has_3d_terrain: false
|
|
has_traffic_overlay: true
|
|
has_landclass: true
|
|
has_address_book_write: true
|
|
|
|
defaults:
|
|
center: [44.0, -114.0]
|
|
zoom: 7
|