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

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


fixed. I used Bar instead of bar for table names and therefore had to
put the table name in ""

Marco

Am 13.09.2011 21:45, schrieb Marco Lechner - FOSSGIS e.V.:
> 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
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list