[gdal-dev] Strange proj.4 problem with ogr2ogr

Roger André randre at gmail.com
Mon Dec 10 19:48:46 EST 2007


I'm having an interesting problem when trying to use ogr2ogr to reproject
from one coordinate system to another.  What makes it interesting is that
gdalwarp works properly on the same system.  With ogr2ogr I get an error
that says,

"ERROR 6: Unable to load PROJ.4 library (libproj.dll), creation of
OGRCoordinateTransformation failed.
Failed to create coordinate transformation between the
following coordinate systems.  This may be because they
are not transformable, or because projection services
(PROJ.4 DLL/.so) could not be loaded."

gdalwarp happily reprojects between the same src and target projections, so
I'm a bit confused now.  Do gdal and ogr access the proj.4 libs in different
ways?

I'm using gdal-1.4.2 and proj-4.5.0 compiled from source and using static
proj.4 libs.

Thanks,

Roger
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20071210/0b56847e/attachment.html


More information about the gdal-dev mailing list