mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-05-20 14:44:54 +02:00
offroute: raise bbox limit to 2.0° (~220km coverage)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
58347415bc
commit
87a4741b8d
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ class OffrouteRouter:
|
||||||
"""
|
"""
|
||||||
# Build bbox - only include origin and entry points, NOT distant destination
|
# Build bbox - only include origin and entry points, NOT distant destination
|
||||||
# The destination is handled by Valhalla, wilderness only needs to reach entry points
|
# The destination is handled by Valhalla, wilderness only needs to reach entry points
|
||||||
MAX_BBOX_DEGREES = 0.5
|
MAX_BBOX_DEGREES = 2.0
|
||||||
all_lats = [origin_lat] + [p["lat"] for p in entry_points]
|
all_lats = [origin_lat] + [p["lat"] for p in entry_points]
|
||||||
all_lons = [origin_lon] + [p["lon"] for p in entry_points]
|
all_lons = [origin_lon] + [p["lon"] for p in entry_points]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue