recon/lib
Matt 2252905986 feat(offroute): MVUM legal access — pathfinder integration + places panel API + boundary_mode control
MVUM Data Import:
- Downloaded USFS MVUM Roads (150,636 features) and Trails (28,741 features)
- Imported to navi.db as mvum_roads and mvum_trails tables
- Idaho coverage: ~8,994 roads and ~4,504 trails across 7 national forests
- Preserved all vehicle-class fields (ATV, MOTORCYCLE, HIGHCLEARANCEVEHICLE, etc.)
- Preserved seasonal date ranges (*_DATESOPEN fields)

New mvum.py module:
- MVUMReader class for querying MVUM data by bbox and nearest point
- parse_date_range() for seasonal date string parsing (MM/DD-MM/DD format)
- check_access() for determining open/closed status with date checking
- symbol_to_access() fallback when per-vehicle fields are null
- get_mvum_access_grid() for rasterizing MVUM to pathfinder grid

Cost function integration:
- Added mvum parameter to compute_cost_grid()
- MVUM closures respond to boundary_mode:
  * strict = impassable (np.inf)
  * pragmatic = 5x friction penalty
  * emergency = ignored entirely
- Foot mode skips MVUM (motor-vehicle specific)

Router integration:
- Loads MVUM access grid for motorized modes (mtb, atv, vehicle)
- Tracks mvum_closed_crossings in path summary

Places Panel API:
- GET /api/mvum?lat=XX&lon=XX&radius=50
- Returns MVUM feature with access status for all vehicle classes
- Includes seasonal date ranges, maintenance level, forest/district info
- GeoJSON geometry for map display

Validation:
- MVUM places endpoint tested with Sawtooth NF road
- All four modes validated with strict/pragmatic/emergency boundary modes
- Foot mode correctly ignores MVUM restrictions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-08 14:26:18 +00:00
..
acquisition Phase 6d: PeerTube acquisition module + service thread 2026-04-15 03:08:51 +00:00
offroute feat(offroute): MVUM legal access — pathfinder integration + places panel API + boundary_mode control 2026-05-08 14:26:18 +00:00
processors fix: ZIM table extraction — pipe-delimited cells instead of concatenation 2026-05-07 01:32:25 +00:00
__init__.py Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
address_book.py fix(navi): address book prefix+boundary match for longer queries 2026-04-20 07:54:32 +00:00
address_book_api.py feat(navi): address book with geocoding integration 2026-04-20 04:02:11 +00:00
address_book_test.py fix(navi): address book prefix+boundary match for longer queries 2026-04-20 07:54:32 +00:00
api.py feat(offroute): MVUM legal access — pathfinder integration + places panel API + boundary_mode control 2026-05-08 14:26:18 +00:00
api_keys_admin.py Add Nav-I API key management UI 2026-04-23 06:50:44 +00:00
aurora_nav_tool.py fix(navi): format tool output as human-readable directions 2026-04-19 22:42:17 +00:00
auth.py Add contacts/phone book system with per-user scoping 2026-04-22 05:29:54 +00:00
contacts.py Add Nav-I dashboard section with restore-as conflict resolution 2026-04-22 06:26:25 +00:00
contacts_api.py Add Nav-I dashboard section with restore-as conflict resolution 2026-04-22 06:26:25 +00:00
deployment_config.py feat(navi): deployment profiles + /api/config endpoint 2026-04-20 23:35:39 +00:00
dispatcher.py Phase 6f-2: format normalizer in dispatcher 2026-04-15 23:08:19 +00:00
embedder.py Fix Kiwix download URL generation in embedder 2026-04-18 00:06:52 +00:00
enricher.py Add langdetect language filter to enricher + purge non-English ZIM articles 2026-04-17 14:37:13 +00:00
extractor.py fix: PDF extraction quality — word-boundary checks and layout mode 2026-05-07 01:36:23 +00:00
filing.py Phase 5c-1: dispatcher loop, filing worker loop, service rewire 2026-04-14 18:30:58 +00:00
geocode.py fix(geocode): apply viewport bias to Netsyms address results 2026-04-26 20:59:17 +00:00
geocode_test.py feat(navi): structured geocode with usaddress parsing and reranker 2026-04-20 16:29:47 +00:00
google_places.py Add Google Places (New) tertiary enrichment for business POIs 2026-04-22 04:08:12 +00:00
ingester.py Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
key_manager.py Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
landclass.py Add PAD-US public land classification lookup 2026-04-22 15:36:37 +00:00
nav_tools.py feat(geocode): add viewport bias for location-aware search 2026-04-26 04:03:44 +00:00
nav_tools_test.py feat(navi): add nav_tools with route() and reverse_geocode() - Phase H2 2026-04-19 22:14:26 +00:00
netsyms.py feat(navi): add netsyms tier-2 geocoding + geocode API 2026-04-20 07:24:09 +00:00
netsyms_api.py feat(geocode): add viewport bias for location-aware search 2026-04-26 04:03:44 +00:00
netsyms_test.py feat(navi): add netsyms tier-2 geocoding + geocode API 2026-04-20 07:24:09 +00:00
new_pipeline.py Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
organizer.py Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
osm_categories.py Add place detail proxy with Nominatim-first routing and Overpass fallback 2026-04-21 03:06:51 +00:00
overture.py Add Overture Maps POI enrichment layer for place details 2026-04-21 16:51:25 +00:00
peertube_collector.py Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
peertube_scraper.py Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
place_detail.py feat(place): add boundary polygon to place detail response 2026-04-26 08:26:47 +00:00
query_router.py feat(navi): semantic query router for intelligent tool selection - Phase H2b 2026-04-19 23:50:35 +00:00
query_router_test.py feat(navi): semantic query router for intelligent tool selection - Phase H2b 2026-04-19 23:50:35 +00:00
scraper_runner.py Fix progress regex and SIGHUP/scan_zims race condition 2026-04-19 19:35:42 +00:00
status.py Add scraper Phase 2: smart crawl mode detection + browser fallback 2026-04-18 18:26:43 +00:00
utils.py Phase 3: dispatcher, transcript processor, text_dir resolution 2026-04-14 15:39:42 +00:00
web_scraper.py Initial commit: RECON codebase baseline 2026-04-14 14:57:23 +00:00
wiki_rewrite.py Add wiki link rewriting to local Kiwix 2026-04-23 06:34:22 +00:00
zim_monitor.py Phase 1: Kiwix foundation — ZIM monitor and kiwix-serve setup 2026-04-16 23:39:34 +00:00