[gdal-dev] Coordinate Transformation Question
Joel Odom
joelodom at gmail.com
Tue Dec 16 14:49:44 EST 2008
Is it possible to transform between a Lambert projection (NAD83 datum)
and WGS84 geographic? I'm trying the following, but poCT is null:
OGRSpatialReference oSRS;
if (oSRS.importFromWkt((char**)&projectionRef) != OGRERR_NONE)
//...
OGRSpatialReference wgs84;
wgs84.SetWellKnownGeogCS("WGS84");
OGRCoordinateTransformation *poCT =
OGRCreateCoordinateTransformation(&oSRS, &wgs84);
In this case oSRS is the Lambert Conformal / NAD83. Thanks for any help.
--
http://giscoder.blogspot.com/
More information about the gdal-dev
mailing list