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