# navi-offroute — /etc/navi-backend/navi-offroute.env # Faithful port of recon's /api/offroute + /api/mvum (extraction #8). # NO SECRETS — PADUS uses libpq peer-auth (dbname=padus, no password); all other # inputs are read-only paths/URLs. Owns no DB. # Shared planet-DEM (via shared/dem.py — same file/var as navi-geo). NAVI_DEM_PMTILES=/mnt/nas/nav/planet-dem.pmtiles # Offroute-specific read-only data (all stay external per data-ownership rule). NAVI_OFFROUTE_OSM_PBF=/mnt/nav/sources/idaho-latest.osm.pbf NAVI_OFFROUTE_NAVI_DB=/mnt/nav/navi.db NAVI_OFFROUTE_BARRIERS_TIF=/mnt/nav/worldcover/padus_barriers.tif NAVI_OFFROUTE_WILDERNESS_TIF=/mnt/nav/worldcover/wilderness.tif NAVI_OFFROUTE_TRAILS_TIF=/mnt/nav/worldcover/trails.tif NAVI_OFFROUTE_FRICTION_VRT=/mnt/nav/worldcover/friction/friction_conus.vrt # PADUS PostGIS — peer-auth DSN, NO password. libpq connects via the local # socket as the service user (systemd User=zvx; verified zvx has padus access). # Queries the `entry_points` routing index (a different table than navi-landclass). NAVI_OFFROUTE_POSTGIS_DSN=dbname=padus # Valhalla — recon-side network router (HTTP), for the on-network leg. NAVI_OFFROUTE_VALHALLA_URL=http://localhost:8002 # Cost-grid densification interval, metres (was profile.offroute.densify_interval_m). NAVI_OFFROUTE_DENSIFY_M=100 # HOST DEP: router.py shells out to `osmium extract` per route — the host needs # osmium-tool installed (`sudo apt-get install osmium-tool`). admin-info reports # its version (or 'not installed').