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

Stefan Gofferje lists at home.gofferje.net
Thu Aug 1 22:00:07 PDT 2024


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 caused some confusion because the data starts 
with the lower left corner...

-- 
  (o_   Stefan Gofferje            | SCLT, MCP, CCSA
  //\   Reg'd Linux User #247167   | VCP #2263
  V_/_  https://www.gofferje.net   | https://www.saakeskus.fi



More information about the gdal-dev mailing list