[mapserver-users] Need help to debug a code

gautam gautamnitw at gmail.com
Sat Jun 9 00:34:14 PDT 2012


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
	DATA "PG:host=localhost port=5432 dbname='postgis' user='postgres'
password='*******' schema='public' table='test' "	
	PROCESSING "NODATA=0"
	PROCESSING "SCALE=AUTO"
	PROJECTION
          "init=epsg:3003"
        END
        METADATA
          "wms_title" "OFC 1:10.000 single"
          "wms_srs" "EPSG:3003 EPSG:4326"
        END
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.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Need-help-to-debug-a-code-tp4980116.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list