Side of Street Routing
The sideOfStreetAdherence
parameter is used in multiple APIs to set the extent to which our routing algorithm will try to route to the side of the street where a stop is located. It can be set for the entire trip as part of the Route Options, or for individual stops within a trip, as part of the Stop Location object.
Below are the enum values for sideOfStreetAdherence
.
Value | Description |
---|---|
Off
| Will not re-route according to side of the street. This is the default value. |
Minimal
| Will increase the route by up to a maximum of 1⁄4 mile to avoid ending up on the wrong side of the street. |
Moderate
| Will increase the route by up to a maximum of 1/2 mile to avoid ending up on the wrong side of the street. |
Average
| Will increase the route by up to a maximum of 1 mile to avoid ending up on the wrong side of the street. |
Strict
| Will increase the route by up to a maximum of 5 miles to avoid ending up on the wrong side of the street. |
Adhere
| Will increase the route by up to a maximum of 10 miles to avoid ending up on the wrong side of the street. |
StronglyAdhere
| Will route the driver by any possible means to reach the correct side of the street. |