An elevation service that uses DEM data in the HGT or GeoTIFF format.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Santolibre.Map.Elevation.Lib
Santolibre.Map.Elevation.LibTest
Santolibre.Map.Elevation.WebService
.gitignore
LICENSE.txt
README.md
map-elevation.sln

README.md

map-elevation

An elevation service that uses DEM data in the HGT or GeoTIFF format.

API

GET http://elevation.map.santolibre.net/api/v1/elevation?encodedPoints=[encodedPoints]

Parameters

Parameter Description
encodedPoints Points in the encoded polyline format (https://developers.google.com/maps/documentation/utilities/polylinealgorithm)

Response

rangeElevations: array of [distance, elevation]

{
  rangeElevations: [[0, 302], [120, 342], [254, 296], [487, 246]]
}

GET http://elevation.map.santolibre.net/api/v1/metadata

Examples

Get elevations of a list of points

GET http://elevation.map.santolibre.net/api/v1/elevation?encodedPoints=ksiuxAe%60nzN_%40qFqBkTiByWeAoLk%40kPsB%7DF%5DcC