Hi all,
I follow the document http://mapserver.org/ogc/sld.html to set up multiple
styles for raster data in map file, just like this:
CLASSGROUP "sequential"
CLASS
GROUP "sequential"
EXPRESSION ([pixel] <= 2e+15)
STYLE
COLOR 255 237 160
END
END
CLASS
GROUP "sequential"
EXPRESSION ([pixel] >2e+15 AND [pixel] <= 3e+15)
STYLE
COLOR 254 217 118
END
END
...
...
CLASSGROUP "KNMI"
CLASS
GROUP "KNMI"
EXPRESSION ([pixel] <= 1e+15)
STYLE
COLOR 161 240 119
END
END
CLASS
NAME "knmi2"
GROUP "KNMI"
EXPRESSION ([pixel] >1e+15 AND [pixel] <= 2e+15)
STYLE
COLOR 136 238 120
END
END
In the response of "getcapabilities", there shows two styles "sequential, KNMI"
available. But when I get map using either "styles=sequential" or
"styles=KNMI", the rendered image is in "sequential" style. Then, I define
"KNMI" at first, and "sequential" secondly in the Map file. The rendered images
are all in "KNMI" style whatever I set up "styles" in getMap request.
Is there anything wrong in my Map file?
_________________________________________________________________
Windows Live Hotmail is faster and more secure than ever.
http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_1:092009_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users