How can i find elevation only from latitude and longitude point using matlab codes?

62 views (last 30 days)
I have latitude and longitude points as shown below but how can I get elevation from them using matlab codes?
85.1480000000000 27.9960000000000
85.1850000000000 27.9910000000000
85.2250000000000 27.9860000000000
85.1750000000000 27.9720000000000
85.6240000000000 27.9160000000000
84.6970000000000 28
84.7390000000000 27.9950000000000
84.7770000000000 27.9900000000000
84.8170000000000 27.9850000000000
84.8600000000000 27.9800000000000
84.9010000000000 27.9750000000000
84.9400000000000 27.9700000000000
84.9800000000000 27.9660000000000
85.0190000000000 27.9610000000000
85.0590000000000 27.9560000000000
85.0950000000000 27.9520000000000
85.1330000000000 27.9470000000000
85.1700000000000 27.9420000000000

Accepted Answer

Chad Greene
Chad Greene on 5 Mar 2016
You'll need some sort of digital elevation model (DEM), which is a gridded elevation dataset. Depending on the resolution that you need, you may be able to use a low-resolution global DEM or you may need a high-resolution dataset. If you have the Mapping Toolbox and a low-res DEM is acceptable, type
load topo
[lat,lon] = meshgrat(topo,topolegend);
then you can use interp2 to interpolate elevation values at your lat,lon points. If you need a higher-resolution dataset or if you don't have the mapping toolbox, search the web for free DEMs.
  2 Comments
Walter Roberson
Walter Roberson on 6 Mar 2016
And remember when you are looking at the DEM data to take into account whether the calculation is "height above sea level" or "distance from the center of the earth", as the Earth is not a sphere.
Chad Greene
Chad Greene on 6 Mar 2016
And a further clarification, that height above sea level and height above the ellipsoid are not the same thing.

Sign in to comment.

More Answers (1)

Parth Sarathi
Parth Sarathi on 15 Mar 2016
Thank you all for the answers. However the point was that i had to download an elevation model and then interpolate my lat long values to the same and get the elevation.

Categories

Find more on Reference Applications in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!