[postgis-users] PostGis Raster questions

Giannis Giakoumidakis ggiakoumidakis at yahoo.com
Mon Sep 12 01:51:43 PDT 2011


Hello to everyone,

I'm very new to postGis stuff and i finally manage to import into my database a .shp file and a .tiff one, with the raster extension. 

I used these commands for the raster file (found here: http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html): 

>$ python raster2pgsql.py -r /path/to/katrina.tif -t katrina -l 1 -k 64x64 -o katrina.sql -s 4326 -I -M

>$ psql -d <raster_database> -f katrina.sql -U <user> -W

Now i'm able to see the raster file in the database, as a new table and in the raster_columns. My problem is that i can't see/use it from any gis program that i tried, such as uDig, QGis etc. Contrary to the .shp file, the .tiff most times doesn't appear or it does but with no geometry, so it can't be visualized. 

If anyone could help i would be glad, because i'm stuck and i can't move on to my thesis.

Thanx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110912/ac6ec6ad/attachment.html>


More information about the postgis-users mailing list