mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-08-26 17:31:37 +00:00
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> |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| admin.py | ||
| app.py | ||
| astar.py | ||
| barriers.py | ||
| cost.py | ||
| friction.py | ||
| mvum.py | ||
| offroute_route.py | ||
| router.py | ||
| trails.py | ||