[postgis-users] Adding raster to PostGIS database

Smaran Harihar smaran.harihar at gmail.com
Mon Nov 26 13:23:43 PST 2012

Hi Guys,

I am trying to add a raster to PostGIS database using,

raster2pgsql -c -D -s 4326 -I Quercus_acutifolia_raw.tif
public.Quercus_acutifolia_raw | psql -h localhost -d dbnm -U usr

But I am getting this error,

ERROR: Unable to read raster file: -D

Any idea what is wrong? The database already has numerous point and polygon
shapefiles. Is that a problem that I cannot add rasters to the same
database having shapefiles?

Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121126/629fe195/attachment.html>

More information about the postgis-users mailing list