Isochrone
Example /isochrone request for 10 and 20 minute walking isochrones from Times Square, New York City.
RoutingNavigationOpenStreetMapMappingGeospatialDirectionsIsochronesTravelTransportationOpen Source
Isochrone is an example object payload from Valhalla, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
descriptionrequestresponse_summary
Example Payload
{
"description": "Example /isochrone request for 10 and 20 minute walking isochrones from Times Square, New York City.",
"request": {
"locations": [
{ "lat": 40.7580, "lon": -73.9855, "name": "Times Square, New York City" }
],
"costing": "pedestrian",
"contours": [
{ "time": 10, "color": "aabbcc" },
{ "time": 20, "color": "ffaa00" }
],
"polygons": true,
"denoise": 0.5,
"show_locations": true,
"units": "km"
},
"response_summary": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"contour": 10,
"color": "aabbcc",
"fill": "aabbcc",
"fillOpacity": 0.33,
"fill-opacity": 0.33,
"opacity": 0.33,
"metric": "time"
},
"geometry": {
"type": "Polygon",
"coordinates": [[["-73.99", "40.75"], ["-73.98", "40.76"], ["-73.97", "40.75"], ["-73.99", "40.75"]]]
}
},
{
"type": "Feature",
"properties": {
"contour": 20,
"color": "ffaa00",
"fill": "ffaa00",
"fillOpacity": 0.33,
"fill-opacity": 0.33,
"opacity": 0.33,
"metric": "time"
},
"geometry": {
"type": "Polygon",
"coordinates": [[["-74.01", "40.74"], ["-73.96", "40.77"], ["-73.96", "40.74"], ["-74.01", "40.74"]]]
}
}
]
}
}