Isochronen (`/isochrone`)
URL:
POST https://valhalla.pixelmap.at/isochroneRequest-Body:
{ "locations": [{ "lat": 46.6249, "lon": 14.3050 }], "costing": "pedestrian", "contours": [ { "time": 5 }, { "time": 10 }, { "time": 15 } ], "generalize": 50}Beispiel mit Curl:
curl -X POST "https://valhalla.pixelmap.at/isochrone" \-H "Content-Type: application/json" \-H "Authorization: Bearer YOUR_API_TOKEN" \-d '{ "locations": [{ "lat": 46.6249, "lon": 14.3050 }], "costing": "pedestrian", "contours": [ { "time": 5 }, { "time": 10 }, { "time": 15 } ], "generalize": 50}'