This works. Thanks a lot to David and Gregor for their bang on and quick responses.
..Tom > -----Original Message----- > From: Fawcett, David [mailto:[EMAIL PROTECTED] > Sent: 26 October, 2007 11:22 AM > To: Kralidis,Tom [Burlington]; [email protected] > Subject: RE: [UMN_MAPSERVER-USERS] class expressions for > everything else > > Tom, > > I am pretty sure that you can just put a class with no > expression as the last class in your layer. > > Have you tried: > > CLASS > NAME "catchall" > COLOR 255 255 255 > OUTLINECOLOR 0 0 0 > END > > David. > -----Original Message----- > From: UMN MapServer Users List > [mailto:[EMAIL PROTECTED] On Behalf Of > Kralidis,Tom [Burlington] > Sent: Friday, October 26, 2007 10:15 AM > To: [email protected] > Subject: [UMN_MAPSERVER-USERS] class expressions for everything else > > > 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 >
