mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-08-26 17:31:37 +00:00
No description
- JavaScript 96.9%
- CSS 2.9%
- HTML 0.2%
Align spatial eligibility with Valhalla's actual /locate vocabulary: - road grade lives in classification.classification (8-value enum incl service_other, which was missing from PAVED_HIGHWAY_CLASSES); track/path/footway are NOT grades, they live in classification.use. - _locate_on_network now also returns use (defensive .get chain; None in fallback). - Renamed TRACK/PATH_HIGHWAY_CLASSES -> TRACK_USE_VALUES/PATH_USE_VALUES; atv/mtb now match on use, vehicle still on the paved grade. - 4 tests: service_other->vehicle, use=track->atv/mtb/foot, use=footway->mtb/foot, none->foot. Live-verified: the Boise end point (43.626,-116.215, service_other) now yields [atv,mtb,vehicle,foot] instead of [foot]; Auto intersection picks vehicle. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| backend | ||
| frontend | ||