[gdal-dev] Confused about datum transformations
dev4cx4m9z at snkmail.com
Tue Oct 18 03:51:14 EDT 2011
I have a GIS database, and all data is stored in WGS84 datum. I have
developed an application using GDAL, and I now need to translate my WGS84
coordinates to several different datums, depending what map is loaded. I
seem to be going around in circles, and need a nudge in the right direction.
I am defining an OGRSpatialReference for each datum (WGS84 and current map)
and then attempting to create an OGRCoordinateTransformation for the
transformation. This last step fails with a PROJ.4 error ("No PROJ.4
translation for destination SRS, coordinate transformation initialization
My question is - Do I need PROJ.4 to do the translation? Can I not just use
ImportFromWKT to define my OGRSpatialReference? If so, is there a nice
canned list of all the WKT somewhere? I'm keen to avoid PROJ.4 if possible
as I'm not sure I can build it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev