[Mapserver-users] FILTER, how to . . .

blammo bob.basques at ci.stpaul.mn.us
Sat Mar 27 21:37:13 PST 2004


All,

I have this which works fine for a single name (city) lookup via the URL:

 LAYER
    NAME cshed_ci
    DATA '../data_points/lshed_ci_blkcentr'
    STATUS DEFAULT
    TYPE POINT
    FILTERITEM W_NAME
    FILTER '%city%'
    CLASS
      NAME ' 1 - 5 workers'
      EXPRESSION ([H_WORKERS] <= 5)
      SYMBOL 'circle'
      SIZE 3
      OUTLINECOLOR 0 0 0
      COLOR 204 255 255
    END
    CLASS . . . . . . . . .

Question, how can I send in multiple filter items via the CITY= 
parameter in the URL request?

CITY=MAPLEWOOD and SAINT PAUL and ROSEVILLE and <some other name(s)>

will multiple CITY=<value> work as seperate filters, like this:

CITY=MAPLEWOOD&CITY=SAINT+PAUL&CITY=ROSEVILLE . . . .

Thanks

bobb





More information about the MapServer-users mailing list