IIRC the x,y for SetGeoTransform are for the top left corner of the top left pixel. Not the center of the pixel. It can be confusing. (that means that it does not change with the pixelsize if you downscale or upscale ;)
On Thu, 1 Aug 2024 at 09:35, Stefan Gofferje via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > So, thanks to the replies here I found this article which describes how > to create a GeoTiff from scratch for Dummies. > > > https://manivannank.medium.com/gdal-python-create-save-geotiff-using-gdal-in-python-469c2e33cb14 > > Sometimes one only needs to be told the right words to search for :) > > Thanks guys! > -Stefan > > -- > (o_ Stefan Gofferje | SCLT, MCP, CCSA > //\ Reg'd Linux User #247167 | VCP #2263 > V_/_ https://www.gofferje.net | https://www.saakeskus.fi > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev