You should be able to do this pretty easily. See http://www.gdal.org/ogr/osr_tutorial.html for some help. Once you've set your coordinate system, use exportToWkt <http://www.gdal.org/ogr/classOGRSpatialReference.html#596b8e527d66a5054 408159f0006fdac> this to get it out as wkt.
David Anderson, P.E. Donnell & Allred, Inc. 908 Big Horn Ave P.O. Box 638 Worland, WY 82401 307-347-8276 307-347-8277 fax [email protected] From: [email protected] [mailto:[email protected]] On Behalf Of Derrick Hoffman Sent: Monday, October 05, 2009 9:54 AM To: [email protected] Subject: [gdal-dev] Getting a wkt projection string Hello all: I have a projection file that looks like this: Projection UTM Zone 18 Datum NAD83 Spheroid GRS80 Units METERS Zunits NO Parameters _ How can I read this file in and convert it to a wkt projection string that I can use GDALCreateReprojectionTransformer With? Thank you J Derrick Hoffman Software Engineer Pro Logic Inc. 304 333-2680 x 322 [email protected]
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
