Importing GeoTIFF results in a rotated image

7 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2021-8-4
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 2021-8-4
Oh sorry, I thought it was clear from the product tag that the tool is RoadRunner.
Matlab displays it correctly in my opinion.

请先登录,再进行评论。

回答(1 个)

Siraj
Siraj 2024-7-29
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.

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by