Re: [gdal-dev] PNeo pan-sharpening post 3.7.0

2023-07-15 Thread Ferdinand
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

Re: [gdal-dev] PNeo pan-sharpening post 3.7.0

2023-07-15 Thread Even Rouault
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

[gdal-dev] Rotating a raster?

2023-07-15 Thread Scott
Someone over on reddit.com/r/gis asked a seemingly simple question, "How to rotate a raster by some value using xmin/ymax as the center of rotation?" The poster was trying to do this using C++, GDAL libs. Any thoughts on how to do this with code or gdal utils? Thanks! ___