[postgis-users] [XX000] ERROR: AddToPROJ4SRSCache: could not parse proj4 string

Regina Obe lr at pcorp.us
Wed Nov 15 23:03:45 PST 2017


Andrew,

That was a hard one.  Glad you figured it out.  I was just about out of ideas on what could be wrong there.

Thanks,
Regina

-----Original Message-----
From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Andrew Joseph
Sent: Wednesday, November 15, 2017 3:15 PM
To: postgis-users at lists.osgeo.org
Subject: Re: [postgis-users] [XX000] ERROR: AddToPROJ4SRSCache: could not parse proj4 string

After days of trial and error, I solved this by compiling GDAL with --with-static-proj4=/usr/local. Turns out the current version of the  ESRI filegeodatabase API
https://github.com/Esri/file-geodatabase-api/tree/master/FileGDB_API_1.5.1
unexpectedly and infuriatingly embeds PROJ4 in one of its .so files which conflicts randomly with the installed PROJ4 version!

See
http://osgeo-org.1560.x6.nabble.com/gdal-dev-compiling-gdal-with-esri-file-gdb-td5311469.html
for more info.

That's what I get for using a closed source ESRI lib with GDAL I suppose!





--
Sent from: http://postgis.17.x6.nabble.com/PostGIS-User-f3516033.html
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users



More information about the postgis-users mailing list