[gdal-dev] Coordinate space to pixel space with image rotation in python
Nicolas Cadieux
nicolas.cadieux at archeotec.ca
Tue Jan 28 09:12:46 PST 2020
Hi,
It's easy to go from coordinate space to pixel space in python using
something like.
pixel_x = int(-124114.3 - geo_transform[0])/geo_transform[1])
What is the trick when there is an image rotation? Also, as a second
very beginner question, what is the difference between geo_transform[2]
and geo_transform[4]?
Thanks in advance!
Nicolas Cadieux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200128/218969d5/attachment-0001.html>
More information about the gdal-dev
mailing list