I have now changed gid to rid, and can see that gdal_translate creates an image:
gdal_translate -of GTiff -outsize 100% 100% "PG:host=localhost dbname=xxx user=xxx password=xxx schema=raster table=kommune_r" C:\spatialsuite\temp\kommune_r.tiff but shp2img -m C:\..\itasca.map -o C:\temp\shp2img.png -l kommune_r returns: msProcessProjection(): Projection library error. Permission denied msFreeMap(): freeing map at 00721FC8. -- View this message in context: http://postgis.17.n6.nabble.com/View-PostGIS-raster-in-mapserver-tp4627669p4634986.html Sent from the PostGIS - User mailing list archive at Nabble.com. _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users