/optimized_route
Changed onOptimized (TSP) route
post/optimized_route
Request
- Base URLhttps://valhalla1.openstreetmap.de
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"format": "json",
"costing": "auto",
"costing_options": {
"multimodal": {
"filters": {
"operators": {
"action": "exclude",
"ids": [
"NYC_AUR"
]
},
"routes": {
"action": "exclude",
"ids": [
"NYC_AUR"
]
}
}
},
"transit": {
"filters": {
"operators": {
"action": "exclude",
"ids": [
"NYC_AUR"
]
},
"routes": {
"action": "exclude",
"ids": [
"NYC_AUR"
]
}
}
}
},
"exclude_locations": [
{
"type": "break",
"preferred_side": "opposite",
"street_side_cutoff": "primary",
"search_filter": {
"min_road_class": "primary",
"max_road_class": "primary"
}
}
],
"locations": [
{
"type": "break",
"preferred_side": "opposite",
"street_side_cutoff": "primary",
"search_filter": {
"min_road_class": "primary",
"max_road_class": "primary"
}
}
],
"shape_format": "polyline6"
}Response
Optimized route result
Changes
- info
added the new optional request property
///////
- info
- info
added the new optional request property
/////// - info
added the new optional request property
////
- info