メインコンテンツまでスキップ

How Mapbox Directions services work

Mapbox Directions services power navigation experiences with intelligent routing, accurate travel time estimates, and real-time traffic awareness. This guide breaks down how the Mapbox routing engine calculates routes for different transportation modes, how travel times are estimated using map and traffic data, and where real-time and typical traffic conditions are available around the world. Whether you're building turn-by-turn directions, delivery optimizations, or isochrone visualizations, understanding these fundamentals will help you make the most of our directions-related APIs.

The directions-related APIs include:

The routing network

The Mapbox routing network can create routes and optimized trips, and is used to calculate the most efficient path for a given mode of transportation (driving, cycling, and walking). The routing network includes a robust network of roads and paths (also known as ways) with distinct attributes like speed limits, turn lane restrictions, mode of travel, and accessibility for bikes and pedestrians.

Ways

A way is an OpenStreetMap term used to describe an ordered list of nodes (points) which normally also has at least one tag, or description. For the purposes of the Mapbox Navigation service APIs, ways can be roads, foot paths, or bicycle lanes.

Travel times

The Mapbox Directions API, Matrix API, and Optimization API all provide estimated trip durations. The time it takes to travel from one point to another is determined by many factors, including:

Traffic data

Incorporate real-time and typical traffic data using the mapbox/driving-traffic routing profile into route selection and ETA generation with the Mapbox Directions API, Map Matching API, Matrix API, either into computing areas of reachability with the Mapbox Isochrone API, or add a traffic layer to road geometries on a visual map. Read more about our traffic tileset in Mapbox data.

The mapbox/driving-traffic routing profile is available globally, but the availability of traffic varies by country. Real-time traffic shows speeds that have been directly observed in the last 15 minutes. Real-time traffic data is useful if there are atypical traffic patterns (for example, during severe weather events or accidents).

When real-time traffic conditions are not available, typical traffic conditions will be used instead. Typical traffic is an estimate for traffic speeds at a specific location, at a specific time, based on historical observations. Typical traffic data reflects normal traffic conditions during a typical week.

Traffic Coverage

For the following countries, the returned ETA is calculated using both real-time and typical traffic data along the requested route.

  • Afghanistan
  • Albania
  • Algeria
  • American Samoa
  • Andorra
  • Angola
  • Antigua and Barbuda
  • Argentina
  • Armenia
  • Aruba
  • Australia
  • Austria
  • Azerbaijan
  • The Bahamas
  • Bahrain
  • Bangladesh
  • Barbados
  • Belarus
  • Belgium
  • Belize
  • Benin
  • Bermuda
  • Bhutan
  • Bolivia
  • Bosnia and Herzegovina
  • Botswana
  • Brazil
  • British Virgin Islands
  • Brunei Darussalam
  • Bulgaria
  • Burkina Faso
  • Burundi
  • Cabo Verde
  • Cambodia
  • Cameroon
  • Canada
  • Cayman Islands
  • Chad
  • Chile
  • Colombia
  • Comoros
  • Congo, Dem. Rep.
  • Congo, Rep.
  • Costa Rica
  • Cote d'Ivoire
  • Croatia
  • Cuba
  • Cyprus
  • Czech Republic
  • Denmark
  • Djibouti
  • Dominica
  • Dominican Republic
  • Ecuador
  • El Salvador
  • Egypt, Arab Rep.
  • Equatorial Guinea
  • Estonia
  • Eswatini
  • Ethiopia
  • Faroe Islands
  • Finland
  • Fiji
  • France
  • French Polynesia
  • Gabon
  • Gambia, The
  • Georgia
  • Germany
  • Ghana
  • Gibraltar
  • Greece
  • Greenland
  • Grenada
  • Guam
  • Guatemala
  • Guinea
  • Guinea-Bissau
  • Guyana
  • Haiti
  • Honduras
  • Hong Kong SAR, China
  • Hungary
  • Iceland
  • India
  • Indonesia
  • Iran, Islamic Rep.
  • Iraq
  • Ireland
  • Isle of Man
  • Israel
  • Italy
  • Jamaica
  • Japan
  • Jordan
  • Kazakhstan
  • Kenya
  • Kiribati
  • Korea, Rep.
  • Kuwait
  • Kyrgyz Republic
  • Lao PDR
  • Latvia
  • Lebanon
  • Lesotho
  • Liberia
  • Libya
  • Liechtenstein
  • Lithuania
  • Luxembourg
  • Macao SAR, China
  • Madagascar
  • Malaysia
  • Malawi
  • Maldives
  • Mali
  • Malta
  • Marshall Islands
  • Mauritania
  • Mauritius
  • Mexico
  • Micronesia, Fed. Sts.
  • Moldova
  • Monaco
  • Mongolia
  • Montenegro
  • Morocco
  • Mozambique
  • Myanmar
  • Namibia
  • Nepal
  • Netherlands
  • New Caledonia
  • New Zealand
  • Nicaragua
  • Niger
  • Nigeria
  • Northern Mariana Islands
  • North Macedonia
  • Norway
  • Oman
  • Pakistan
  • Panama
  • Papua New Guinea
  • Paraguay
  • Peru
  • Philippines
  • Poland
  • Portugal
  • Puerto Rico
  • Qatar
  • Romania
  • Russian Federation
  • Rwanda
  • Samoa
  • San Marino
  • Sao Tome and Principe
  • Saudi Arabia
  • Serbia
  • Sierra Leone
  • Singapore
  • Slovak Republic
  • Slovenia
  • Solomon Islands
  • Somalia
  • South Africa
  • Spain
  • Sri Lanka
  • St. Kitts and Nevis
  • St. Lucia
  • St. Vincent and the Grenadines
  • Sudan
  • Suriname
  • Sweden
  • Switzerland
  • Syrian Arab Republic
  • Taiwan
  • Tajikistan
  • Tanzania
  • Thailand
  • Timor-Leste
  • Togo
  • Tonga
  • Trinidad and Tobago
  • Tunisia
  • Turkey
  • Turkmenistan
  • Turks and Caicos Islands
  • Uganda
  • Ukraine
  • United Arab Emirates
  • United Kingdom
  • United States
  • Uruguay
  • Uzbekistan
  • Vanuatu
  • Venezuela, RB
  • Vietnam
  • Virgin Islands (U.S.)
  • West Bank and Gaza
  • Yemen, Rep.
  • Zambia
  • Zimbabwe
このpageは役に立ちましたか?