[Mapserver-users] qstring - multiple values

Fawcett, David David.Fawcett at state.mn.us
Wed Aug 6 12:15:35 EDT 2003


Is there a reference for Mapserver expressions anywhere?  I can't find anything in the docs or anything useful in the list archive.  

Thanks, 

David.

> ----------
> From: 	Steve Lime[SMTP:steve.lime at dnr.state.mn.us]
> Sent: 	Wednesday, August 06, 2003 10:38 AM
> To: 	matt at kbc.net.au; mapserver-users at lists.gis.umn.edu
> Subject: 	Re: [Mapserver-users] qstring - multiple values
> 
> 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
> 
> -- 
> Matthew Smith
> Kadina Business Consultancy
> South Australia
> http://www.kbc.net.au 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu 
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> _______________________________________________
> 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