mapprofile used on a projected map
20 views (last 30 days)
Show older comments
I am trying to get a data profile along an image band in projection UTM and datum WGS84. I am surprised that mapprofile does not work on a projected image. I'll be grateful to know about alternatives to use. Reprojecting to Geographical coordinates is rather time-consuming. Thanks! BM
0 Comments
Answers (1)
Chad Greene
on 8 Feb 2017
If you have a 2D projected map and its corresponding x,y coordinates, you can use interp2 to interpolate along any path you wish. You can create a straight-line path using linspace to make x and y (or lat and lon) arrays from the starting point to the ending point.
6 Comments
Chad Greene
on 10 Feb 2017
This is like pulling teeth. Exactly what information do you have? Do you have the x and y or lat and lon coordinates of the radiance map? Do you have x and y or lat and lon coordinates of the transect?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!