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

Frank Koormann frank.koormann at intevation.de
Mon Sep 22 03:47:23 EDT 2003


Stephen,

* Stephen Clark <stephen.clark at focus.ca> [030919 23:47]:
>     
>    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.
>     

What you are asking for is in the dokumented in the mapserver template 
reference:

http://mapserver.gis.umn.edu/doc40/template-reference.html#layer

Regards,

        Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)



More information about the mapserver-users mailing list