Elevation Service
The Elevation Service provides a REST API for querying elevation data for geographic coordinates. The API supports the JSON format. The request is limited to 500 points.
Endpoints
Get Elevation for a Point
Retrieves the elevation for a specific geographic point.
Parameters:
Parameter | Required | Type | Description |
---|---|---|---|
apiKey |
Yes | string | API key for authentication |
channel |
No | string | Channel for the request |
latitude |
Yes | number | Latitude of the point |
longitude |
Yes | number | Longitude of the point |
The request body for POST must be a JSON object with a points
array containing the points to query.POST Request Body Example
Response:The response is a JSON object containing the elevation values for the specified points.
Data Model
ElevationPointRequest
Property | Type | Description |
---|---|---|
points |
Array[GeoPoint] | Array of geographic points |
GeoPoint
Property | Type | Description |
---|---|---|
latitude |
number | Latitude |
longitude |
number | Longitude |
The response contains the elevation values in meters above sea level for the provided coordinates.
Swagger
For more detailed information on the response structures please refer to the full Swagger documentation.