Map Matching (`/trace_route`)
URL:
POST https://valhalla.pixelmap.at/trace_routeRequest-Body:
{ "shape": [ { "lat": 46.6249, "lon": 14.3050 }, { "lat": 46.6270, "lon": 14.3100 }, { "lat": 46.6300, "lon": 14.3150 } ], "costing": "auto"}Beispiel mit Curl:
curl -X POST "https://valhalla.pixelmap.at/trace_route" \-H "Content-Type: application/json" \-H "Authorization: Bearer YOUR_API_TOKEN" \-d '{ "shape": [ { "lat": 46.6249, "lon": 14.3050 }, { "lat": 46.6270, "lon": 14.3100 }, { "lat": 46.6300, "lon": 14.3150 } ], "costing": "auto"}'