Changing from "Model Type Geographic" to "Model Type Projected"
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Salvatore Savastano
il 22 Apr 2015
Risposto: Salvatore Savastano
il 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 Commenti
Risposta accettata
Nalini Vishnoi
il 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 Commenti
Più risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!