Kim,

You can use GetProjection() to fetch the coordinate system:

dataset = gdal.Open( input )
projection   = dataset.GetProjection()

The returned value is a string containing the WKT
description of the coordinate system.

Best regards,

On Tue, Jun 29, 2010 at 11:41 AM, Kim Besson <[email protected]> wrote:
> Greetings
> I have been using Python GDAL to retrieve image size (XSize YSize) but now I
> need to retrieve Projection information in order to use in GDALWARP. Has
> anyone has an practical-example on how to use it?
> THanks
> Best regards,
> Kim
> _______________________________________________
> gdal-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to