Hi Paolo,
I bumped into this as well, but it is by design and the solution is
fairly easy.
Read this:
http://postgis.net/docs/postgis_installation.html#install_short_version
Bottom line:
```
As of PostGIS 2.1.3, out-of-db rasters and all raster drivers are
disabled by default. In order to re-enable these, you need to set the
following environment variables: POSTGIS_GDAL_ENABLED_DRIVERS and
POSTGIS_ENABLE_OUTDB_RASTERS in the server environment.
If you want to enable offline raster:
POSTGIS_ENABLE_OUTDB_RASTERS=1
Any other setting or no setting at all will disable out of db rasters.
```
Chrs,
Tom
On 5-2-2015 11:07, 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?
All the best, and thanks.
_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users