[gdal-dev] Getting a wkt projection string
David Anderson
da at donnellandallred.com
Mon Oct 5 15:48:46 EDT 2009
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
da at donnellandallred.com
From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Derrick Hoffman
Sent: Monday, October 05, 2009 9:54 AM
To: gdal-dev at lists.osgeo.org
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
derrick.hoffman at ultra-prologic.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20091005/2253b82c/attachment-0001.html
More information about the gdal-dev
mailing list