[postgis-users] postgis.gdal_enabled_drivers not working out for me

Bborie Park dustymugs at gmail.com
Sat Dec 6 09:09:09 PST 2014


The GUC postgis.gdal_enabled_drivers is not available in 2.1. Instead you
need to specify the equivalent environmental variable for PostgreSQL.

POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL

I don't know which OS you're using but at least on Ubuntu, you would add
the above to

/etc/postgresql/9.3/CLUSTER_NAME/environment

where CLUSTER_NAME is the name you gave for the PostgreSQL data cluster.

On Sat, Dec 6, 2014 at 3:42 AM, Rhys A.D. Stewart <rhys.stewart at gmail.com>
wrote:

> Greetings all,
>
> Tried using st_aspng and got a lovely error saying
>
>    ERROR:  rt_raster_to_gdal: Could not load the output GDAL driver
>
> Did some research and found out about postgis.gdal_enabled_drivers. I
> set it to 'ENABLE_ALL'  in postgres.conf and no luck. Tried as a
> session variable but still no luck.
>
> I can't figure out what I am missing.
>
> Here is my version info:
> POSTGIS="2.1.4 r12966" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0,
> 6 March 2012" GDAL="GDAL 1.11.1, released 2014/09/24" LIBXML="2.9.2"
> LIBJSON="UNKNOWN" RASTER
>
> PostgreSQL 9.3.5 on x86_64-pc-linux-gnu, compiled by
> x86_64-pc-linux-gnu-gcc (Funtoo 4.8.2-r3) 4.8.2, 64-bit
>
> Rhys
> Peace & Love|Live Long & Prosper
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20141206/a622d6f5/attachment.html>


More information about the postgis-users mailing list