Need help to debug a code

Поиск
Список
Период
Сортировка
От gautam kumar
Тема Need help to debug a code
Дата
Msg-id CAAKqM18VWNGtDL0ayO67x9VpLxkuCwTEJhaQCEvbsZJ0QZViVQ@mail.gmail.com
обсуждение исходный текст
Список 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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pass NEW / OLD variable in trigger to table
Следующее
От: Chris Schnaufer
Дата:
Сообщение: Extending SQL C-language multidimension arrays