Changing from "Model Type Geographic" to "Model Type Projected"
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Salvatore Savastano
el 22 de Abr. de 2015
Respondida: Salvatore Savastano
el 26 de Abr. de 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 comentarios
Respuesta aceptada
Nalini Vishnoi
el 24 de Abr. de 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 comentarios
Más respuestas (1)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!