There's a whole discussion starting at comment
https://github.com/OSGeo/gdal/pull/7256#issuecomment-1433318699 about
how the old approach implicitly assuming same georeferencing for MS and
PAN bands could be wrong for some data products, which could lead to
increasing errors on right and bottom
Hi Evan,
Thanks for the response, I'll give it a go.
As you are on the ticket I mentioned, I assume the rationale behind the
change was to remove the implicit assumption of overlap?
Was there also a subpixel shift then when doing it the "old" way?
Cheers,
Ferdi
On Fri, Jul 14, 2023 at 10:50 PM
Ferdinand,
you can for example use "gdal_edit.py -ro -a_ullr X1 Y1 X2 Y2 your.tif"
to create a geotransform in a sidecar .aux.xml file. If the pan and ms
images have the same extent, you could possibly just use -a_ullr 0 0 1
-1 (untested though). This hypothesis is not totally true as there's