/sources_to_targets
Time-distance matrix
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"
}
}
],
"sources": [
{
"type": "break",
"preferred_side": "opposite",
"street_side_cutoff": "primary",
"search_filter": {
"min_road_class": "primary",
"max_road_class": "primary"
}
}
],
"targets": [
{
"type": "break",
"preferred_side": "opposite",
"street_side_cutoff": "primary",
"search_filter": {
"min_road_class": "primary",
"max_road_class": "primary"
}
}
],
"shape_format": "polyline6"
}Response
Matrix result
Changes
Changed in 4 of the 6 revisions of this API.136
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/motor_scooter/allOf[subschema #2]/use_distancenew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/motorcycle/allOf[subschema #2]/use_distancenew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/truck/allOf[subschema #2]/use_distancenew-optional-request-property
- ○
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/alley_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/bss_rent_costnew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/bss_rent_penaltynew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/driveway_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/elevator_penaltynew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/max_distancenew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/max_hiking_difficultynew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/mode_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/multimodal_start_end_max_distancenew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/sidewalk_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/step_penaltynew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/transit_transfer_max_distancenew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/use_hillsnew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/use_litnew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/walking_speednew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/bikeshare/allOf[subschema #2]/walkway_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/alley_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/bss_rent_costnew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/bss_rent_penaltynew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/driveway_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/elevator_penaltynew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/max_distancenew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/max_hiking_difficultynew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/mode_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/multimodal_start_end_max_distancenew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/sidewalk_factornew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/step_penaltynew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/transit_transfer_max_distancenew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/use_hillsnew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/use_litnew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/walking_speednew-optional-request-property
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/pedestrian/allOf[subschema #2]/walkway_factornew-optional-request-property
- ○
- ○
added the new optional request property
allOf[BaseRequest]/costing_options/truck/allOf[subschema #2]/low_class_factornew-optional-request-property
- ○
- ●
removed the request property
allOf[BaseRequest]/costing_options/truck/allOf[subschema #2]/low_class_factorrequest-property-removed
- ●