walkerke / mapboxapi

R interface to Mapbox web services
https://walker-data.com/mapboxapi/
Other
110 stars 8 forks source link

Adding `max_height`, `max_width`, and `max_weight` params to `mb_directions` function #53

Open JaredStufft-Elion opened 4 months ago

JaredStufft-Elion commented 4 months ago

Allows the end user to supply maximum height, width, and weight in meters/metric tons to restrict road choices in routing results from mb_directions based on vehicle profile. This is useful when creating routes for commercial applications, such as logistics where the vehicle may not be able to take a planned route due to road restrictions.