My program does MANY other things that GDAL can’t. I’m using GDAL as a small part of something much larger. I need to do the transformation at runtime.
Marc, proj4 usually comes with the gdal library. Instead of coding your own program, first try the ogr2ogr utility[1] that comes with the gdal library. [1]: http://www.gdal.org/ogr2ogr.html On Tue, Oct 18, 2011 at 1:36 PM, <[email protected]> wrote: I have a GIS database with all coordinates stored in WGS84 datum. I am trying to translate the coordinates of the database to the datum of my map. I am creating two OGRSpatialReference, one for WGS84 and one for the current map. I am then creating an OGRCoordinateTransformation. When I do so I get a PROJ.4 error – “No PROJ.4 translation for destination SRS, coordinate transformation initialisation has failed” Question – Do I HAVE to use PROJ.4 to do the translation? Can I not just load the SRS with a WKT? I wish to avoid PROJ.4 as I’m unsure how to build it. _______________________________________ Marc Hillman, Melbourne, Australia http://users.tpg.com.au/users/mhillman/ marc .hillman @ t p g . c o m . a u Eagles may soar, but weasels don't get sucked into jet engines. Early bird gets the worm, but the second mouse gets the cheese. If Barbie is so popular, why do you have to buy her friends? All those who believe in psychokinesis, raise my hand.. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1831 / Virus Database: 2092/4558 - Release Date: 10/17/11
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
