Skip to content
GuidesBlogPlaygroundDashboard

Look up elevation at one or more points

$ plaza elevation lookup
GET/api/v1/elevation

Look up elevation at one or more points

ParametersExpand Collapse
--format: optional string

Response format: json (default), geojson, csv, ndjson

--lat: optional number

Latitude (single point)

--lng: optional number

Longitude (single point)

--locations: optional string

Pipe-separated lng,lat pairs (batch)

--output-fields: optional string

Comma-separated property fields to include

--output-include: optional string

Extra computed fields: bbox, center

--output-precision: optional number

Coordinate decimal precision (1-15, default 7)

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

GeoJSON Point Feature with a 3D coordinate [lng, lat, elevation] per RFC 7946 §3.1.1. The elevation is also available in properties.elevation_m for convenience.

geometry: object { coordinates, type }

GeoJSON Geometry object per RFC 7946. Coordinates use [longitude, latitude] order. 3D coordinates [lng, lat, elevation] are used for elevation endpoints.

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

Coordinates array. Nesting depth varies by geometry type: Point = [lng, lat], LineString = [[lng, lat], ...], Polygon = [[[lng, lat], ...], ...], etc.

Point: array of number

[longitude, latitude] or [longitude, latitude, elevation]

LineString or MultiPoint: array of array of number

Array of [lng, lat] positions

Polygon or MultiLineString: array of array of array of number

Array of linear rings / line strings

MultiPolygon: array of array of array of array of number

Array of polygons

type: "Point" or "LineString" or "Polygon" or 3 more

Geometry type

"Point"
"LineString"
"Polygon"
"MultiPoint"
"MultiLineString"
"MultiPolygon"
properties: object { elevation_m }
elevation_m: number

Elevation in meters above mean sea level (WGS84 EGM96 geoid)

type: "Feature"
"Feature"

Look up elevation at one or more points

plaza elevation lookup \
  --api-key 'My API Key'
{
  "geometry": {
    "coordinates": [
      2.3522,
      48.8566
    ],
    "type": "Point"
  },
  "properties": {
    "elevation_m": 35.2
  },
  "type": "Feature"
}
Returns Examples
{
  "geometry": {
    "coordinates": [
      2.3522,
      48.8566
    ],
    "type": "Point"
  },
  "properties": {
    "elevation_m": 35.2
  },
  "type": "Feature"
}