mapprofile used on a projected map
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
Answers (1)
Chad Greene
on 8 Feb 2017
0 votes
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
BM
on 9 Feb 2017
Chad Greene
on 9 Feb 2017
BM-the image didn't get uploaded.
BM
on 10 Feb 2017
BM
on 10 Feb 2017
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?
BM
on 22 Feb 2017
Categories
Find more on Coordinate Reference Systems 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!