v1
latestOpenAPI 3.1.02026-08-0420183200.9 KBRouting
Calculate areas of equal travel time from a location.
The isochrone API computes reachable areas within a time or distance constraint. The resulting polygon can be rendered on a map and used for assessing urban mobility, planning, or as a search filter of places within a constrained range.
post/isochrone/v1
Request body
Example request
{
"contours": [
{
"color": "aabbcc",
"time": 5
}
],
"costing": "pedestrian",
"id": "kesklinn",
"locations": [
{
"lat": 59.436884,
"lon": 24.742595
}
],
"polygons": true
}Response
A GeoJSON object which can be integrated into your geospatial application.
Example response
{
"features": [
{
"geometry": {
"coordinates": [
[
-73.985021,
40.753501
],
[
-73.983892,
40.75163
],
[
-73.982508,
40.751546
],
[
-73.981969,
40.751014
],
[
-73.977881,
40.739014
],
[
-73.979577,
40.738083
],
[
-73.980361,
40.737014
],
[
-73.988508,
40.73467
],
[
-73.990508,
40.733708
],
[
-73.991514,
40.734008
],
[
-73.994628,
40.733894
],
[
-73.995388,
40.734134
],
[
-73.995662,
40.73486
],
[
-73.996508,
40.735006
],
[
-73.998508,
40.734576
],
[
-74.003292,
40.746014
],
[
-74.004016,
40.749014
],
[
-74.002508,
40.749907
],
[
-73.993508,
40.751786
],
[
-73.987508,
40.75397
],
[
-73.985021,
40.753501
]
],
"type": "LineString"
},
"properties": {
"color": "#ff0000",
"contour": 15,
"fill": "#ff0000",
"fill-opacity": 0.33,
"fillColor": "#ff0000",
"fillOpacity": 0.33,
"metric": "time",
"opacity": 0.33
},
"type": "Feature"
}
],
"type": "FeatureCollection"
}