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

Angus Dickey angusd at midwestsurveys.com
Fri Jun 23 18:26:43 EDT 2006


Spoke too soon...

There is a python program in the pymod/samples directory that does almost exactly what I need.


-----Original Message-----
From: Angus Dickey 
Sent: June 23, 2006 3:01 PM
To: gdal-dev
Subject: [Gdal-dev] pixel/line-->georeferenced coordinates

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



_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/gdal-dev





More information about the Gdal-dev mailing list