Changing from "Model Type Geographic" to "Model Type Projected"
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Salvatore Savastano
am 22 Apr. 2015
Beantwortet: Salvatore Savastano
am 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 Kommentare
Akzeptierte Antwort
Nalini Vishnoi
am 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 Kommentare
Weitere Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!