Changing from "Model Type Geographic" to "Model Type Projected"
1 view (last 30 days)
Show older comments
Salvatore Savastano
on 22 Apr 2015
Answered: Salvatore Savastano
on 26 Apr 2015
Hi all, I have two geotiff images about same scene but they have a different tag "Model Type": in one of them this tag is MODELTYPEGEOGRAPHIC and in other one is MODELTYPEPROJECTED. Is possible to change from ModelTypeGeographic to ModelTypeProjected? Thanks in advance
Salvatore
0 Comments
Accepted Answer
Nalini Vishnoi
on 24 Apr 2015
Hi,
You can use the function geotiffread to obtain the spatial referencing object, R from a geotiff image. This object is different for ModelType: Geographic and ModelType: Projected. You can then use geotiffwrite together with the referencing object obtained from one type of geotiff image to write the second geotiff image in the same modeltype. However, in order to make sure that this conversion is valid, I would like to test it on the images that you are working on. If possible, post your images here, so that I can verify that this method works correctly.
0 Comments
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!