Re: [gdal-dev] Python-GDAL - How do I create a GeoTIFF from this array?

2024-08-01 Thread Stefan Gofferje via gdal-dev
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 guy

Re: [gdal-dev] Python-GDAL - How do I create a GeoTIFF from this array?

2024-08-01 Thread Javier Jimenez Shaw via gdal-dev
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.osg

Re: [gdal-dev] Python-GDAL - How do I create a GeoTIFF from this array?

2024-08-01 Thread Stefan Gofferje via gdal-dev
On 8/1/24 11:11, Javier Jimenez Shaw wrote: 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 ;) Oh, yeah, that would have caus