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

Stephen Clark stephen.clark at focus.ca
Fri Sep 19 17:10:23 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_003D_01C37EB7.C4896740
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


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=3DGET action=3D"/cgi-bin/export_window_to_shp.cgi" =
target=3D"_new" >

 <right><input type=3D"submit" value=3D"Export Window to SHP"></right>
=20
 <input type=3D"hidden" name=3D"imgext" value=3D"682155.880374 =
6077531.722901 690424.105075 6085799.947603">
 <input type=3D"hidden" name=3D"layer" value =3D =
"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

------=_NextPart_000_003D_01C37EB7.C4896740
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am looking for a way to send the =
active=20
list&nbsp;of layers that is being displayed in the mapserver window to =
another=20
CGI script for additional processing.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So far I have come up =
with:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;form method=3DGET=20
action=3D"/cgi-bin/export_window_to_shp.cgi" target=3D"_new" =
&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&lt;right&gt;&lt;input =
type=3D"submit"=20
value=3D"Export Window to =
SHP"&gt;&lt;/right&gt;<BR>&nbsp;<BR>&nbsp;&lt;input=20
type=3D"hidden" name=3D"imgext" value=3D"682155.880374 6077531.722901 =
690424.105075=20
6085799.947603"&gt;<BR>&nbsp;&lt;input type=3D"hidden" name=3D"layer" =
value =3D=20
"bcgs_grid_20k_NEBC_line" &gt;<BR></FONT><FONT face=3DArial=20
size=3D2><BR>&lt;/form&gt;<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>as part of a form "button" that submits =
the layers=20
to be processed.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So far I can only send one layer at a=20
time.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there a hidden variable that can =
send all the=20
active layers to a CGI script?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Stephen</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_003D_01C37EB7.C4896740--




More information about the mapserver-users mailing list