Opentopodata Elevation
opentopodata_elevationElevation at points. Up to 100 locations per request.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locations": [
{
"lat": 40.7128,
"lon": -74.006
},
{
"lat": 34.0522,
"lon": -118.2437
}
]
},
"name": "opentopodata_elevation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json (default) | geojson | |
| dataset | No | Default "srtm90m". | |
| samples | No | Optional: interpolate N samples between first and last point. | |
| locations | Yes | Array of {lat, lon} (up to 100). Single object also accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | No | Name of the DEM dataset used | |
| results | No | Array of elevation results for each location |