[Mapserver-users] Active list of layers to send...

Palle Due Larsen palle at mail-online.dk
Mon Sep 22 04:06:40 EDT 2003


If you have multiple layers name the input element "layers", like below.
Also set its value to [layers]. I always use layers instead of layer,
since it works both single and multiple.

<input type="hidden" name="layers" value = "[layers]"

Best regards

Palle Due Larsen
Carl Bro GIS&IT

-----Original Message-----
From: "Stephen Clark" <stephen.clark at focus.ca>
To: <Mapserver-users at lists.gis.umn.edu>
Date: Fri, 19 Sep 2003 14:10:23 -0700
Subject: [Mapserver-users] Active list of layers to send...

> 
> I am looking for a way to send the active list of layers that is
> being displayed in the mapserver window to another CGI script for
> additional processing.
> 
> So far I have come up with:
> 
> 
> 
> <form method=GET action="/cgi-bin/export_window_to_shp.cgi"
> target="_new" >
> 
>  <right><input type="submit" value="Export Window to SHP"></right>
>  
>  <input type="hidden" name="imgext" value="682155.880374
> 6077531.722901 690424.105075 6085799.947603">
>  <input type="hidden" name="layer" value = "bcgs_grid_20k_NEBC_line"
> >
> 
> </form>
> 
> 
> as part of a form "button" that submits the layers to be processed.
> So far I can only send one layer at a time.
> 
> 
> Is there a hidden variable that can send all the active layers to a
> CGI script?
> 
> thanks,
> Stephen
> 

Få en gratis emailkonto her: www.mail-online.dk 
-----------------------------------------------
Deltag i en lille konkurrence på nettet, og
vind et gavekort på 50.000 kroner...
KLIK HER: www.directoffice.dk/konkurrence





More information about the mapserver-users mailing list