-
Notifications
You must be signed in to change notification settings - Fork 11
Snap tolerance parameter #356
Copy link
Copy link
Open
Labels
Milestone
Description
Current state:
The BC Route Planner will compute a route along the road network to (or parallel to) coordinates within 1km of the road centre-line [MAX_SNAP_DISTANCE = 1000].
Test case: Destination is approx 1.2km from the road.
https://router.api.gov.bc.ca/directions.json?points=-123.14517%2C49.70719%2C-123.12172%2C49.68690&snapDistance=1200
Future state:
- Provide a parameter to enable developers to override that number by providing a new value in metres (snapDistance=1200).
Reactions are currently unavailable