<div dir="ltr">The GUC postgis.gdal_enabled_drivers is not available in 2.1. Instead you need to specify the equivalent environmental variable for PostgreSQL.<div><br></div><div><div>POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL</div><div><br></div></div><div>I don't know which OS you're using but at least on Ubuntu, you would add the above to</div><div><br></div><div>/etc/postgresql/9.3/CLUSTER_NAME/environment</div><div><br></div><div>where CLUSTER_NAME is the name you gave for the PostgreSQL data cluster.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 6, 2014 at 3:42 AM, Rhys A.D. Stewart <span dir="ltr"><<a href="mailto:rhys.stewart@gmail.com" target="_blank">rhys.stewart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings all,<br>
<br>
Tried using st_aspng and got a lovely error saying<br>
<br>
   ERROR:  rt_raster_to_gdal: Could not load the output GDAL driver<br>
<br>
Did some research and found out about postgis.gdal_enabled_drivers. I<br>
set it to 'ENABLE_ALL'  in postgres.conf and no luck. Tried as a<br>
session variable but still no luck.<br>
<br>
I can't figure out what I am missing.<br>
<br>
Here is my version info:<br>
POSTGIS="2.1.4 r12966" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0,<br>
6 March 2012" GDAL="GDAL 1.11.1, released 2014/09/24" LIBXML="2.9.2"<br>
LIBJSON="UNKNOWN" RASTER<br>
<br>
PostgreSQL 9.3.5 on x86_64-pc-linux-gnu, compiled by<br>
x86_64-pc-linux-gnu-gcc (Funtoo 4.8.2-r3) 4.8.2, 64-bit<br>
<br>
Rhys<br>
Peace & Love|Live Long & Prosper<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>