Skip to content
GuidesPlaygroundDashboard

Elevation profile along coordinates

$ plaza elevation profile
POST/api/v1/elevation/profile

Elevation profile along coordinates

ParametersExpand Collapse
--geometry: object { coordinates, type }

Path to profile (GeoJSON LineString geometry, minimum 2 points)

ReturnsExpand Collapse
elevation_profile_result: object { geometry, properties, type }

GeoJSON LineString Feature with 3D coordinates representing an elevation profile

geometry: object { coordinates, type }
coordinates: array of number or array of array of number or array of array of array of number or array of array of array of array of number

GeoJSON coordinates array (nesting depth varies by geometry type)

union_member_0: array of number
union_member_1: array of array of number
union_member_2: array of array of array of number
union_member_3: array of array of array of array of number
type: "Point" or "LineString" or "Polygon" or 3 more
"Point"
"LineString"
"Polygon"
"MultiPoint"
"MultiLineString"
"MultiPolygon"
properties: object { avg_elevation_m, max_elevation_m, min_elevation_m, 2 more }
avg_elevation_m: optional number

Average elevation along profile

max_elevation_m: optional number

Maximum elevation along profile

min_elevation_m: optional number

Minimum elevation along profile

total_ascent_m: optional number

Total elevation gain in meters

total_descent_m: optional number

Total elevation loss in meters

type: "Feature"
"Feature"

Elevation profile along coordinates

plaza elevation profile \
  --api-key 'My API Key' \
  --geometry '{coordinates: [0], type: Point}'
Returns Examples