[gdal-dev] gdal function to tell if UTM or lat/lon

Gong, Shawn (Contractor) Shawn.Gong at drdc-rddc.gc.ca
Thu Feb 5 15:31:05 EST 2009


hi list,

I know that in Python ds.GetProjection() ds.GetGCPProjection() will
yield "GEOGCS[,DATUM[,SPHEROID[ ..." which can be searched for
"Transverse_Mercator" or "degree" strings.

Is there a more direct way in gdalinfo or Python function to tell if an
image is in UTM or lat/lon right away?

thanks,
Shawn



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090205/33e8582d/attachment.html


More information about the gdal-dev mailing list