From: | gautam kumar <gautamnitw(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Need help to debug a code |
Date: | 2012-06-09 06:59:04 |
Message-ID: | CAAKqM18VWNGtDL0ayO67x9VpLxkuCwTEJhaQCEvbsZJ0QZViVQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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=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
...
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Keith Fiske | 2012-06-09 07:15:37 | Re: Extension table data |
Previous Message | Keith Fiske | 2012-06-09 06:56:15 | Re: Extension table data |