[mapserver-users] processing scale=auto with float multibands rasters

Andrea Peri aperi2007 at gmail.com
Mon Aug 3 02:02:43 PDT 2015


Hi,
I have a geotiff multibands with float64 values to serve with a wms
mapserver service.

With this kind of rasters,
is affordable the directive

    PROCESSING "BANDS=4,3,2"
    PROCESSING "SCALE=AUTO"

(the 4,3,2 are the red,green,blue channels)

Infact it seem do nothing.

Instead all work well if I set:

    PROCESSING "BANDS=4,3,2"
    PROCESSING "SCALE_1=0.01,0.2"
    PROCESSING "SCALE_2=0.01,0.2"
    PROCESSING "SCALE_3=0.01,0.2"

where ii use the min=0.01 and max=0.2
But I like to have the exact values of min/max for every raster.

Thx.

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------



More information about the MapServer-users mailing list