[gdal-dev] Confused about datum transformations

Marc Hillman 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
failed"

 

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...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111018/e51697bd/attachment.html


More information about the gdal-dev mailing list