Elevation Profile API
GlobalHöhe an jedem Punkt eines Pfades plus Gesamtanstieg, Abstieg und Distanz — ein komplettes Routenprofil.
Überblick
Die Elevation Profile API nimmt einen Pfad (Punktarray oder codierte Polyline) und liefert die Höhe an jedem Punkt sowie Gesamtanstieg, Abstieg, Min-/Max-Höhe und Distanz. Ideal für Rad-, Wander- und Lauf-Apps. Globale SRTM-Daten — funktioniert überall.
API-Referenz
POST
/api/1/elevation/profile| Parameter | Typ | Status |
|---|---|---|
| points | array | Erforderlich |
| polyline | string | Optional |
Beispielanfrage
Credit-Kosten: 1 credit / 10 pointscurl -X POST "https://osrmroute.com/api/1/elevation/profile?key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"points":[[40.37,49.85],[40.80,48.90],[41.30,48.05]]}'Weitere Dienste
Routing APIRoute Optimization APIGeocoding APIPlaces APIMatrix APIIsochrones APIMap Matching APINearest APITrip API (TSP)Standort-ClusteringDirections APIAlternative Routes APISnap to Road APIAutocomplete APIBatch Geocoding APITimezone APIElevation APIBoundary Lookup APIGeofencing APISolar APIGeometry Utilities APICoordinate Conversion APICountry Info API