[Mapserver-users] qstring - multiple values

Matthew Smith matt@kbc.net.au
Wed, 06 Aug 2003 09:28:23 +0930


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@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users