[Mapserver-users] "Other" Class
Daniel Morissette
dmorissette at dmsolutions.ca
Wed Apr 7 20:26:42 PDT 2004
Denis Lalonde wrote:
> Hello all,
>
> Maybe simple question but I'm wondering if it's possible to give a
> symbol "style" to objects that do not fall into any of the classes of my
> layer?
>
> i.e.
>
> LAYER
> NAME 'layer name'
> ...
>
> CLASSITEM 'fieldname'
> CLASS
> EXPRESSION 'expression1'
> ...
> END
> CLASS
> EXPRESSION 'expression2'
> ...
> END
> CLASS
> "everything else????"
> END
>
If you don't set any expression in the last class then you'll get the
behavior you want. A class with no expression is a catch-all class.
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list