Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix transformCoordinates() for rasters with RPC georeferencing (#38350)
Unfortunately for raster with RPC georeferencing, the transform used in GDAL provider's transformCoordinates() was using RPC_HEIGHT at zero elevation, while rendering pipeline was using RPC_HEIGHT at the correct elevation from HEIGHT_OFF metadata. This was causing shift in what was rendered in map canvas vs what transform function returned. This is now fixed by also the transform function using the correct elevation.
- Loading branch information
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters