[Mapserver-users] qstring - multiple values

Zamil Murji Zamil.Murji at divestco.com
Wed Aug 6 10:10:57 PDT 2003


Just out of curiosity, what would be the equivalent logical expression.

BTW, I am in favor of implementing something like this.

Thanks
Zamil

-----Original Message-----
From: Jan Hartmann [mailto:jhart at frw.uva.nl]
Sent: Wednesday, August 06, 2003 10:30 AM
To: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] qstring - multiple values


I would certainly like that as a feature request. Lots of maps out there 
with discrete or enumerative map items. I guess it could also be 
implemented faster than the equivalent logical expression.

Jan

Steve Lime wrote:
> Remember that qstring is a valid MapServer expression so it's more
> powerful than before, although with that power comes a bit of complexity
> and even cumbersomeness. You're not just limited to string matches. So,
> to do multiple matches you would craft a logical expression like ([item]
> in ('27001','27003',...)). I'm not sure if the in syntax is correct but
> you get the idea. If there is enough interest we could look into
> supporting expressions like:
> 
>   EXPRESSION [27001,27003,...]
> 
> and having MapServer recognize that as a list to be matched against a
> single ITEM. Sort of a shortcut logical expression. It would be
> implemented as a new expression type within the software. Thoughts?
> 
> Steve
> 
> 
>>>>Matthew Smith <matt at kbc.net.au> 08/06/03 09:03AM >>>
> 
> Fawcett, David wrote:
> 
>>When I had tried something like
> 
> '...mycgi?qstring=27001&qstring=27003&qstring=...'
> 
>>qstring appears to be set to only one value, the last value set in
> 
> the URL.
> 
>>David.
> 
> 
> Hmm  - looks like Mapserver doesn't handle multiples - you may need to
> 
> do something with Mapscript unless someone else can advise another way
> 
> of doing this (I'm familiar with query strings, not so much with 
> Mapserver ;-)
> 
> On the subject of query strings - can anyone tell me when Mapserver
> will 
> use/accept the semicolon separator rather than the deprecated
> ampersand? 
>   It took me AGES to work out why my query strings weren't working
> until 
> I followed an example to the letter and di it the old way.
> 
> Cheers
> 
> M
> 

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list