[Gdal-dev] pixel/line-->georeferenced coordinates

Angus Dickey angusd at midwestsurveys.com
Fri Jun 23 17:00:42 EDT 2006


Hey all,

I need a way map a pixel and line value of a georeferenced image (happens to be in UTM) to the actual coordinate, so I would like to be able to do this:

Input
-----
Pixel = 1256
Line = 4646

Output
------
x (e) = 368387
y (n) = 5633998

I don't think there are any gdal utilities capable of this. I am new to python and gdal but don't mind getting into it. Although I notice the warp API is only complete in C++. Would I be wasting my time trying to do this in python? Any recommendations or help is appreciated.

Thanks,

~Angus






More information about the Gdal-dev mailing list