[Gdal-dev] python CoordinateTransformation
Frank Warmerdam
warmerdam at pobox.com
Wed Apr 12 14:14:55 EDT 2006
Xiaodong Zhang wrote:
> Hi gdal-dev list members,
>
> Not knowing very much about Python, I'm wondering if anybody has a
> sample code of using Python:CoordinateTransformation. I have read
> through OGR Projection tutorial and understand how to do it in C++; but
> there are few information there on how to use Pythonto to do coordinate
> transformation. Basically I'd like to calculate the lat and long from an
> image's native projection.
Xiaodong,
I think you will find the following example script to be nearly what you
want.
http://www.gdal.org/srctree/python/samples/tolatlong.py
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGF, http://osgeo.org
More information about the Gdal-dev
mailing list