[postgis-users] External rasters: access disabled?

Sandro Santilli strk at keybit.net
Thu Feb 5 02:15:39 PST 2015


On Thu, Feb 05, 2015 at 10:07:10AM +0000, Paolo Cavallini wrote:
> Hi all.
> Apparently external (-R) raster are no longer accessible:
> 
> SELECT ST_value(rast,ST_SetSRID
>  (ST_Point(1598700,4884700), 3003))
>  FROM dtm_ext;
> ERROR:  rt_raster_load_offline_data: Access to offline bands disabled
> CONTEXT: funzione PL/pgSQL st_value(raster,integer,geometry,boolean)
> riga 18 a RETURN
> 
> Debian sid, pg 9.4, PostGIS 2.1.4+dfsg-2, GDAL 1.10.1+dfsg-8+b3
> 
> They worked before. As it stands, they are pretty useless.
> Anyone has a good explanation for this?

Disabled by default due to security issues. You can enable them
via POSTGIS_ENABLE_OUTDB_RASTERS and POSTGIS_GDAL_ENABLED_DRIVERS
environment variables.

Full explanation here:
http://postgis.net/2014/05/19/postgis-2.0.6_and_2.1.3

--strk;


More information about the postgis-users mailing list