[QGIS-Developer] Reading out-of-db PostgreSQL Raster

Paolo Cavallini cavallini at faunalia.it
Tue Nov 5 12:24:32 PST 2019


Hi all,
loading PostGIS rasters from the browser works very well, thanks Ale!
However, those loaded with the -R option (out of db rasters) throw an error:

Warning: Logged warning: RasterIO error:
PostGISRasterRasterBand::IRasterIO(): ERROR:  rt_band_load_offline_data:
Cannot open offline raster:
/home/paolo/Documents/Didattica/Corsi_Formazione_Faunalia/PostGIS/data/dtm_nord.tif

I have enabled out-of-db rasters:

 POSTGIS_ENABLE_OUTDB_RASTERS=1
 POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL

The same data are readable from psql
select * from dtm_ext ;
┌─────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ rid │

├─────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│   1 │ 01000001...

Is this a known limitation, or do I need some additional config?

Thanks.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/


More information about the QGIS-Developer mailing list