[gdal-dev] GDAL unable to open PostGIS Raster table

Marco Lechner - FOSSGIS e.V. marco.lechner at fossgis.de
Tue Sep 13 15:45:30 EDT 2011


Hi,

I'm trying to access a PostGIS Rastertable using gdalinfo.
While
$ gdalinfo "PG:host=localhost dbname=foo user=postgres mode=2"
returns all the available rasters including 'bar' of foo-DB
$ gdalinfo "PG:host=localhost dbname=foo user=postgres table=bar mode=2"
returns
"ERROR 1: Error browsing database for PostGIS Raster properties
gdalinfo failed - unable to open 'PG:host=localhost dbname=foo
user=postgres table=bar mode=2"

What could be the reason?

Marco

P.S. GDAL 1.8.0, released 2011/01/12 on Ubuntu Lucid with PostGISRaster
(ro): PostGIS Raster driver


More information about the gdal-dev mailing list