[mapserver-users] Mapserver , raster postgis and PROCESSING options

Andrea Peri aperi2007 at gmail.com
Fri Mar 16 05:33:23 PDT 2012


Hi,
I'm try-ing to load on Mapserver trunk version a raster loaded on Postgis
2.0.

Mapserver is using the gdal to access the raster,
but something seem don't work.
The load report this message that I guess is due to the gdal driver:

>[Fri Mar 16 15:15:37 2012].722903 LoadGDALImage(ofc10k_single): 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.

I use this settings in the MapFile:

  LAYER
    NAME "ofc10k_single"
    STATUS ON
    EXTENT 1559445 4921905 1566395 4927805
    TYPE raster
    DATA "PG: ..... mode='2'"
    PROCESSING "SCALE_1=0,255"
    PROCESSING "SCALE_2=0,255"
    PROCESSING "SCALE_3=0,255"
    PROCESSING "RESAMPLE=NEAREST"
    PROJECTION
      "init=epsg:3003"
    END
    METADATA
      "wms_title" "OFC 1:10.000 single"
      "wms_srs" "EPSG:3003 EPSG:4326"
    END
    OFFSITE 0 0 0
    OPACITY 100
END

Is the
    PROCESSING "SCALE_1=0,255"
a supported option ?

thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120316/98791aeb/attachment.htm>


More information about the MapServer-users mailing list