PROCESSING "LUT=.... issue
A.Th.C. Hulst
hulst at ARGOSS.NL
Thu Jul 19 03:44:36 PDT 2007
Dear all,
I have been working on a method to display my freshly computed netCDF data
through mapserver and are finally there. However, I find one last issue with
the scaling / processing lut= combination.
Please see the map on http://mapserver.argoss.nl. The mapserver is svn
revision 6353. There is a white spot on there that should be red. See the
relevant map section below:
LAYER
NAME "Hs"
DATA "netCDF:<SNIP>windwave/ww3_output.nc:sign_wave_height"
PROCESSING "SCALE=0,10"
PROCESSING "SCALE_BUCKETS=200"
PROCESSING "BANDS=1,1,1"
PROCESSING "LUT_1=96:0,157:255,221:255,255:240"
PROCESSING "LUT_2=29:0,93:255,157:255,221:0,255:0"
PROCESSING "LUT_3=28:255,93:255,157:0,255:0"
TYPE RASTER
STATUS ON
OFFSITE 0 0 0
END
The data in this layer is in [0 13.457]. I want to scale the image to [0 10]
because more details of lower waves show. What happens is that the RGB values
in the area that is clipped (eg Hs > 10m) are set to 255, regardless of
anything in the PROCESSING instruction.
Am I overlooking something or should I report a bug (or feature ;) )?
Best regards,
Sander
More information about the MapServer-users
mailing list