distance_and_duration_bw_starts_and_stops
Calculate optimal route distance and driving time between multiple origin and destination points on real road networks. Specify coordinates, avoid tolls, highways, or ferries, and set start times for accurate results.
Instructions
Calculate length and driving time of the optimal routes between origin and destination points on the real road network.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
avoid_ferries | No | Avoid ferries | |
avoid_highways | No | Avoid highways | |
avoid_tolls | No | Avoid tolls | |
destinations | No | List of destinations described as semicolon-delimited coordinate pairs with latitudes and longitudes. If not specified, an n x n matrix will be generated using the origins. Maximum 25 pairs per request. | |
origins | Yes | List of origins described as semicolon-delimited coordinate pairs with latitudes and longitudes. Maximum 25 pairs per request. | |
start_time | No | Time when travel is expected to start. You can specify the time as an integer in seconds since midnight, January 1, 1970 UTC or you can use 'now' to specify the current time. |