navi/backend/services/navi_offroute
Matt 46d3077c35 perf(offroute): tighter wilderness bbox (5 entry points, 1.5km pad)
The wilderness bbox covered origin + 10 nearest entry points + 5km pad, giving
11-17km grids regardless of route distance. Shrink to origin + 5 nearest entry points
(MAX_ENTRY_POINTS 10->5 at the three scenario callers) + 1.5km pad (padding 0.05->0.015
in _pathfind_wilderness). Typical bbox drops to ~3-5km/side -> roughly 10x fewer cells
and a proportional A*/raster speedup. MAX_BBOX_DEGREES=2.0 absolute clamp unchanged.

2 tests: _route_A slices entry points to 5; _pathfind_wilderness bbox pad is 0.015 deg.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 15:40:23 +00:00
..
tests perf(offroute): tighter wilderness bbox (5 entry points, 1.5km pad) 2026-05-25 15:40:23 +00:00
__init__.py Add navi-offroute service (extraction #8 — final) (#10) 2026-05-22 23:30:43 -06:00
admin.py Add navi-offroute service (extraction #8 — final) (#10) 2026-05-22 23:30:43 -06:00
app.py Add navi-offroute service (extraction #8 — final) (#10) 2026-05-22 23:30:43 -06:00
astar.py fix(offroute): smooth max_grade penalty instead of hard cliff (DEM noise robustness) 2026-05-25 15:34:18 +00:00
barriers.py Add navi-offroute service (extraction #8 — final) (#10) 2026-05-22 23:30:43 -06:00
cost.py feat(offroute): numba A* with anisotropic Tobler, exponentially-inflated cost grid (combined #17+#18) 2026-05-25 15:15:36 +00:00
friction.py Add navi-offroute service (extraction #8 — final) (#10) 2026-05-22 23:30:43 -06:00
mvum.py Add navi-offroute service (extraction #8 — final) (#10) 2026-05-22 23:30:43 -06:00
offroute_route.py feat(offroute): Auto eligible-mode-set with category hints + parallel spatial fallback 2026-05-25 02:15:48 +00:00
router.py perf(offroute): tighter wilderness bbox (5 entry points, 1.5km pad) 2026-05-25 15:40:23 +00:00
trails.py Add navi-offroute service (extraction #8 — final) (#10) 2026-05-22 23:30:43 -06:00