Skip to content
GuidesPlaygroundDashboard

Look up elevation at one or more points

ElevationLookupResult Elevation.Lookup(ElevationLookupParams?parameters, CancellationTokencancellationToken = default)
GET/api/v1/elevation

Look up elevation at one or more points

ParametersExpand Collapse
ElevationLookupParams parameters
Double lat

Latitude (single point)

Double lng

Longitude (single point)

string locations

Pipe-separated lng,lat pairs (batch)

ReturnsExpand Collapse
class ElevationLookupResult:

GeoJSON Point Feature with 3D coordinate [lng, lat, elevation] (RFC 7946 §3.1.1)

required GeoJsonGeometry Geometry
required Coordinates Coordinates

GeoJSON coordinates array (nesting depth varies by geometry type)

One of the following:
IReadOnlyList<Double>
IReadOnlyList<IReadOnlyList<Double>>
IReadOnlyList<IReadOnlyList<IReadOnlyList<Double>>>
IReadOnlyList<IReadOnlyList<IReadOnlyList<IReadOnlyList<Double>>>>
required Type Type
One of the following:
"Point"Point
"LineString"LineString
"Polygon"Polygon
"MultiPoint"MultiPoint
"MultiLineString"MultiLineString
"MultiPolygon"MultiPolygon
required Properties Properties
Double ElevationM

Elevation in meters above mean sea level

required Type Type

Look up elevation at one or more points

ElevationLookupParams parameters = new();

var elevationLookupResult = await client.Elevation.Lookup(parameters);

Console.WriteLine(elevationLookupResult);
Returns Examples