terrain

Sample ground elevation

Surface height at a coordinate, floored at sea level, with the raw model reading alongside.

When to use: Retrieve terrain height and the raw model elevation at one coordinate.

When not to use: Use route with elevation enabled for a profile along a route.

get/elevation

Request

  • Base URL: https://api.mapsource.io
  • URL: https://api.mapsource.io/elevation
  • Auth: HTTP bearer

Query parameters

latnumber required

Latitude in decimal degrees.

lonnumber required

Longitude in decimal degrees.

Response

Sample ground elevation

latitudenumber required
longitudenumber required
elevationMetersnumber required

Surface height in metres, floored at sea level.

belowSeaLevelboolean required

True where the model reads below zero: open sea, and land such as Death Valley.

sampledMetersnumber required

The raw model reading, negative below sea level.

resolutionZoominteger required
sourcestring required
bathymetryTilestring uri required

The public raster this sample came from; read the sea floor there.

attributionobject[] required

Changes

No recorded changes to this operation across all 1 revision of this API.