path elevation profile
    19 views (last 30 days)
  
       Show older comments
    
Hi,
Given two xy coords on an elevation map (xyz format), is there a function to generate the path elevation profile between these two points?
The function would have to interpolate between grid points..it would also be nice to be able to specify spacing betweem elevation points.
Thanks in advance!
eric
0 Comments
Answers (4)
  omid zandi
 on 25 Apr 2021
        Hi
Despite about 8 years delay, it is worth saying that TopoToolbox has provided this feature in demprofile function which works perfect.
0 Comments
  Kyle Jones
 on 7 Feb 2012
        Eric, Have you found any help with this. I need the exact same thing as you. I have a grid of 1 arcsecond SRTM elevation data. I created an equally spaced grid and I need to find an elevation profile between two points (not necessarily on the grid). I would be happy to team up with you and share anything I find if you will do the same. I'm really stuck on this.....
Thanks, Kyle
  Wolfgang Schwanghart
      
 on 10 Feb 2012
        Hi, if you have the image processing toolbox, the function improfile should do what you ask for. http://www.mathworks.de/help/toolbox/images/ref/improfile.html
Best regards, Wolfgang
0 Comments
  Rob Comer
    
 on 15 Feb 2012
        1 Comment
  Albert Gesualdi
 on 17 Feb 2021
				I have been tring to use mapprofile to generate a elevation profile along a line in a geotiff file i uploaded with readgeoraster and I cannot get it to work any idea why?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




