[Mapserver-users] qstring - multiple values

Fawcett, David David.Fawcett at state.mn.us
Wed Aug 6 09:29:37 EDT 2003


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.

> ----------
> From: 	Matthew Smith[SMTP:matt at kbc.net.au]
> Sent: 	Tuesday, August 05, 2003 6:58 PM
> To: 	mapserver-users at lists.gis.umn.edu
> Subject: 	Re: [Mapserver-users] qstring - multiple values
> 
> Fawcett, David wrote:
> > I am using qstring in an itemnquery and I would like to use multiple values (version 4.0)
> > 
> > I have a URL containing  ...mode=itemnquery&qlayer=basemap&qitem=FIPS&qstring=27001
> > 
> > I would like to build a URL with a qstring where I am selecting multiple counties.  (e.g. 27001 and 27003 and 27005).   
> > 
> > Can anyone help me build this expression/URL?  
> 
> The URL is simple - the query string would be like that for a set of
> grouped checkboxes on a form:
> 
> ...mycgi?qstring=27001&qstring=27003&qstring=...
> 
> I don't, however, know how the front-end of Mapserver is put together or
> whether it can handle multiple entries.  If it can't, you could do
> something with Mapscript - I believe that the Perl CGI module creates an
> array for multiple instances of a field name.
> 
> 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
> 



More information about the mapserver-users mailing list