get_elevation_profile
Get elevation and terrain slope from Copernicus DEM GLO-30 for a bounding box. Returns min, max, mean elevation, slope stats, and ASCII contour map—no API keys required.
Instructions
Extract digital elevation (in meters) and terrain slope from the gold-standard Copernicus DEM GLO-30. Zero-config: Queries Copernicus DEM GLO-30 from open AWS STAC. No API keys or credentials required.
Args: bbox: Bounding box [min_lon, min_lat, max_lon, max_lat] in WGS84. calculate_slope: If True, computes mean and maximum terrain slope in degrees.
Returns: JSON string with min, max, and mean elevation (m), slope statistics, and ASCII elevation contour map.
References:
Horn, B. K. P. (1981). Proceedings of the IEEE, 69(1), 14-47. DOI: 10.1109/PROC.1981.11918
Guth, P. L., & Geoffroy, T. M. (2021). Transactions in GIS, 25(5), 2245-2261. DOI: 10.1111/tgis.12825
European Space Agency. (2020). Copernicus DEM Validation Report v4.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | ||
| calculate_slope | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |