Get elevation from GPS coordinates

Retrieves ground elevation data for given GPS coordinates using the SRTM 250 model at Open-Elevation API web service.
11 Downloads
Updated 23 Jul 2024

View License

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 Linux
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!
Version Published Release Notes
1.1.1