routing profile
A Mapbox routing profile is a set of rules that a Mapbox routing engine uses to find the optimal route between two points. Routing profiles are generally optimized for the mode of transportation being used to get between locations.
The Mapbox Navigation service APIs have access to the following routing profiles:
Profile | Description |
---|---|
mapbox/driving-traffic | For automotive routing. This profile factors in current and historic traffic conditions to avoid slowdowns. Traffic information is available for the supported geographies listed in the Traffic Data page. |
mapbox/driving | For automotive routing. This profile shows the fastest routes by preferring high-speed roads like highways. |
mapbox/walking | For pedestrian and hiking routing. This profile shows the shortest path by using sidewalks and trails. |
mapbox/cycling | For bicycle routing. This profile shows routes that are short and safer for cyclists by avoiding highways and preferring streets with bike lanes. |
Note that the Isochrone API and the Optimization API do not support the mapbox/driving-traffic
profile.
Related resources:
- Directions API documentation
- Isochrone API documentation
- Map Matching API documentation
- Matrix API documentation
- Optimization API documentation
このpageは役に立ちましたか?