[gdal-dev] Python-GDAL - How do I create a GeoTIFF from this array?
Javier Jimenez Shaw
j1 at jimenezshaw.com
Thu Aug 1 01:11:08 PDT 2024
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 at 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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240801/a5acbf41/attachment.htm>
More information about the gdal-dev
mailing list