hi, While using postgis with mapserver ... i am getting black image in place of raster image... please help
... LAYER NAME coolwktraster TYPE raster STATUS DEFAULT #CONNECTIONTYPE ogr DATA "PG:host=localhost port=5433 dbname='postgis' user='postgres' password='asdf' schema='public' table='test' " #CONNECTION "user='postgres' password='asdf123' dbname='postgis' host=localhost port=5432" #DATA "rast form world using SRID=-1 using unique id" PROCESSING "NODATA=0" PROCESSING "SCALE=AUTO" #... other standard raster processing functions here #... classes are optional but useful for 1 band data PROJECTION "init=epsg:3003" END METADATA "wms_title" "OFC 1:10.000 single" "wms_srs" "EPSG:3003 EPSG:4326" END ... Error report: [Sat Jun 09 01:49:25 2012].727000 CGI Request 1 on process 2096 [Sat Jun 09 01:49:25 2012].729000 msDrawMap(): rendering using outputformat named png (AGG/PNG). [Sat Jun 09 01:49:25 2012].729000 msDrawMap(): WMS/WFS set-up and query, 0.000s [Sat Jun 09 01:49:25 2012].731000 msDrawRasterLayerLow(coolwktraster): entering. [Sat Jun 09 01:49:26 2012].252000 LoadGDALImage(coolwktraster): NODATA value 0 in GDAL file or PROCESSING directive largely ignored. Not yet fully supported for unclassified scaled data. The NODATA value is excluded from auto-scaling min/max computation, but will not be transparent. [Sat Jun 09 01:49:26 2012].259000 LoadGDALImage(coolwktraster): NODATA value 0 in GDAL file or PROCESSING directive largely ignored. Not yet fully supported for unclassified scaled data. The NODATA value is excluded from auto-scaling min/max computation, but will not be transparent. [Sat Jun 09 01:49:26 2012].265000 LoadGDALImage(coolwktraster): NODATA value 0 in GDAL file or PROCESSING directive largely ignored. Not yet fully supported for unclassified scaled data. The NODATA value is excluded from auto-scaling min/max computation, but will not be transparent. [Sat Jun 09 01:49:26 2012].269000 msDrawMap(): Layer 0 (coolwktraster), 0.540s [Sat Jun 09 01:49:26 2012].269000 msDrawMap(): Drawing Label Cache, 0.000s [Sat Jun 09 01:49:26 2012].269000 msDrawMap() total time: 0.542s [Sat Jun 09 01:49:26 2012].424000 msSaveImage(stdout) total time: 0.155s [Sat Jun 09 01:49:26 2012].425000 mapserv request processing time (loadmap not incl.): 0.698s [Sat Jun 09 01:49:26 2012].425000 msFreeMap(): freeing map at 025D1FE8.
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users