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

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to