class expressions for everything else

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Fri Oct 26 11:15:07 EDT 2007


Hi,

We have a LAYER with a number of CLASS definitions, each with a
EXPRESSION directive defined like:

CLASS
 NAME "foo"
 EXPRESSION ([Band] = 1)
 COLOR 0 255 0
 OUTLINECOLOR 0 0 0
END

...so that the data is displayed as per the CLASS definitions.  The
problem is that any data which does _not_ satisfy any of the CLASS
definitions is _not_ displayed.

Is there / how do we define a CLASS as the "catch all" definition (i.e.
colour everything else, similar to an OGC SLD "ElseFilter").

Any advice and / or suggestions are valued.

..Tom



More information about the mapserver-users mailing list