The raster image appears to be shifted compared to GeoTIFFs created with other programs. The shift is approximately 0.5*sqrt(2)*grid-step of the raster (half of a diagonal) in south-east direction.
Used procedure:
Tools/Projection/Rasterize --> Update grid --> Export/Raster --> Export heights/OK
In my eyes the problem is that the upper-left corner of each pixel sits exactly on the calculated raster point. This results in a slight shift of location. Instead, the middle of each pixel should align with the raster points.
Coordinate Shift when exporting raster as GeoTIFF
Re: Coordinate Shift when exporting raster as GeoTIFF
Ok, I think I've found the bug!
I've added some more explanations on the wiki so as to not see it come back again: https://www.cloudcompare.org/doc/wiki/i ... d_position
I'll update the 2.12.beta online version as soon as possible.
I've added some more explanations on the wiki so as to not see it come back again: https://www.cloudcompare.org/doc/wiki/i ... d_position
I'll update the 2.12.beta online version as soon as possible.
Daniel, CloudCompare admin
Re: Coordinate Shift when exporting raster as GeoTIFF
Ok, the fixed version is now online.
Thanks for the feedback!
Thanks for the feedback!
Daniel, CloudCompare admin
Re: Coordinate Shift when exporting raster as GeoTIFF
Thanks for the quick response!
-
- Posts: 1
- Joined: Tue Feb 21, 2023 8:44 pm
Re: Coordinate Shift when exporting raster as GeoTIFF
Hi, I have just started to use CC recently and I have noticed that this issue is still appearing in the exported raster data. The larger the grid step size the further the exported geotiff moves to the south east. If I select a grid size of just 1, the exported raster is geo located perfectly.
Re: Coordinate Shift when exporting raster as GeoTIFF
Which version are you using?
I've tested with the latest 2.13.alpha version (and QGis) and I was not able to reproduce it.
I've tested with the latest 2.13.alpha version (and QGis) and I was not able to reproduce it.
Daniel, CloudCompare admin