Florencia, As far as I know, Mapserver only works with vectorial data on PostGIS. So having a kind of BLOB (bytea) column doesn't work.
I guess you will have to had those TIF files as a file to be able to load it using a RASTER layer. Cheers from México IC Carlos Ruiz From: florencia.bujan <florita...@gmail.com> To: mapserver-users@lists.osgeo.org Sent: Mon, November 29, 2010 7:46:56 AM Subject: [mapserver-users] Raster Data from PostGIS Hi, I have my data rasters (tif files) into my PostGIS database such as file. Any file into database is in "bytea" format. I want to show this raster layer from PostGIS with mapserver. My "Raster Table" structure and my .map code are: TABLE rasters ( id serial NOT NULL, nombre character varying(100), archivo_bytea bytea, mime character varying(100), size double precision ) LAYER NAME 'Raster' TYPE RASTER CONNECTIONTYPE postgis CONNECTION "user=postgres password=... dbname=... host=..." DATA "bytea FROM rasters" STATUS OFF OFFSITE 0 0 0 TRANSPARENCY 100 END Thanks a lot. Regards. Florencia -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Raster-Data-from-PostGIS-tp5784362p5784362.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users