Get elevation from GPS coordinates
Version 1.1.1 (3.06 KB) by
Lubos Smolik
Retrieves ground elevation data for given GPS coordinates using the SRTM 250 model at Open-Elevation API web service.
This function queries the Open-Elevation API web service for ground elevations. The web service uses the SRTM 250 digital elevation database, which results from the NASA Shuttle Radar Topographic Mission (SRTM) and has a resolution of 250 m at the equator.
Key features:
- Requires an internet connection to function properly.
- Works without the need for an API token.
- Accepts both 1D and 2D numeric arrays.
- Handles large queries by dividing them into smaller batches.
Cite As
Lubos Smolik (2024). Get elevation from GPS coordinates (https://www.mathworks.com/matlabcentral/fileexchange/170101-get-elevation-from-gps-coordinates), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: getElevations(latitude, longitude, varargin)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.1.1 |