[Gdal-dev] python CoordinateTransformation

Howard Butler hobu at iastate.edu
Wed Apr 12 14:21:43 EDT 2006


<http://www.gdal.org/srctree/pymod/samples/tolatlong.py>

At 01:14 PM 4/12/2006, Frank Warmerdam wrote:
>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
>
>_______________________________________________
>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