Importing GeoTIFF results in a rotated image

1 vue (au cours des 30 derniers jours)
Tim Rothmann
Tim Rothmann le 4 Août 2021
Réponse apportée : Siraj le 29 Juil 2024
Hello all,
hopefully a very simple question, with a simple solution:
I would like to import some GeoTIFFs to build my 3D model based on.
But after the import the image looks slightly rotated and no longer parallel to the X and Y axes.
Can someone expain me why?
When I import the same GeoTIFF with the mapping toolbox the result looks like expected:
I assume it has something to do with projection or World Origin. But I can't identify it.
Thx in advance,
Tim
  8 commentaires
Walter Roberson
Walter Roberson le 4 Août 2021
perhaps I was misunderstanding. I thought you were saying that when you used some particular part of MATLAB that the image came out odd but not when you used a different part of MATLAB.
But now it looks to me as if you are indicating that some tool outside of MATLAB is displaying oddly? If so then it might help to name the tool.
Tim Rothmann
Tim Rothmann le 4 Août 2021
Oh sorry, I thought it was clear from the product tag that the tool is RoadRunner.
Matlab displays it correctly in my opinion.

Connectez-vous pour commenter.

Réponses (1)

Siraj
Siraj le 29 Juil 2024
Hi Tim,
I understand you want to import GeoTIFFs into RoadRunner, however after importing you're noticing that the image appears slightly rotated inside the boundaries.
This happens because, in RoadRunner, the image is reprojected into the scene's local meter space. By reprojecting the image, it remains accurate to its true world position, ensuring its information aligns correctly with other GIS data.
To validate this behavior, you can pick a point in the image in RoadRunner and use the Measurement Tool to find the latitude and longitude. Then, check the same point in Mapping Toolbox to confirm that the latitude and longitude match.
For more details, you can refer to the following answer provided by the MathWorks Support Team:
Hope this helps.

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by