Problem writing multiple selections for FILTER

Steve Lime Steve.Lime at DNR.STATE.MN.US
Fri May 19 11:37:30 PDT 2006


Jack:

       FILTERITEM "FULLSTREET"
       FILTER '518 HIGHWAY' or 'TALLY-HO ROAD'

becomes:

       FILTER ('[FULLSTREET]' = '518 HIGHWAY' or '[FULLSTREET]' = 'TALLY-HO ROAD')

Steve


>>> Jack Gibb <jack.gibb at MOHAWKCOLLEGE.CA> 5/19/2006 11:14:26 AM >>>
I want to select two roads to display (518 Highway and Tally-ho Road).  
It works when I just select one road,  how to add the other?

Thanks in advance

Cheers

Jack

LAYER
    NAME road
    
    STATUS OFF
    DATA road
    TYPE LINE
        LABELCACHE ON
        LABELITEM "FULLSTREET"
        FILTERITEM "FULLSTREET"
        FILTER '518 HIGHWAY' or 'TALLY-HO ROAD'
        CLASS
      NAME "Road"
      STYLE
                SYMBOL "Bigline"
                SIZE 3
                COLOR 255 0 0
      END # End of Style
            
            LABEL
                TYPE truetype
                FONT "arialbd"
                Size 8
                OUTLINECOLOR 255 255 255
                COLOR 0 0 0
                MINDISTANCE 200
                MINFEATURESIZE AUTO
                POSITION auto
                ANGLE auto
            END # End of label
            TEMPLATE "templates/road.html"
         END # End of Class



More information about the MapServer-users mailing list