[Mapserver-users] "MAPSERVER FORM " and Windows ... HELP ME !
Eduardo Spremolla
edspremolla at Antel.com.uy
Fri Oct 17 05:08:40 PDT 2003
Hi Guillaume:
The FORM that you post don't have any input control that a user can
change. Try adding:
<hr>
Zoom In <input type=radio name=zoomdir value=1
[zoomdir_1_check]><br>
Pan <input type=radio id="pan" name=zoomdir value=0
[zoomdir_0_check] ><br>
Zoom Out <input type=radio name=zoomdir value=-1
[zoomdir_-1_check]>
<br>
Zoom Size <input type=text name=zoomsize size=4 value="2">
<hr>
for a change.
LALO
El jue, 16 de 10 de 2003 a las 18:16, Guillaume MOCCAND escribió:
> hi,
>
> i have some problem with the use of Mapserver 4.0 on Win2000 and IIS (also with
> Apache). i try to run the tutorial found at the following URL :
> http://terrasip.gis.umn.edu/projects/tutorial/
>
> in the HTML pages i found the code :
>
> <img border="1" src="/cgi-bin/mapserv40?map=/data/projects/tutorial/example1-
> 9.map&mode=map" />
>
> in order to get a static map, i needed to change it to :
>
> <img border="1" src="http://localhost/scripts/mapserv.exe?
> map=c:\tutorial\example1-9.map&mode=map" />
>
> it works fine but i'm not really glad to write the complete path of the map
> file.
> But my deepest problem is that i don't know how to get a dynamic map with the
> HTML FORM !!
>
>
> here is the code of the FORM :
>
> <!-- START OF MAPSERVER FORM -->
> <form name="mapserv" method="GET" action="/cgi-bin/mapserv40">
> <!-- HIDDEN MAPSERVER CGI VARIABLES -->
> <input type="hidden" name="map" value="[map]">
> <input type="hidden" name="imgext" value="[mapext]">
> <input type="hidden" name="imgxy" value="199.5 149.5">
> <input type="hidden" name="zoom" value="1">
> <input type="hidden" name="mode" value="browse">
> <div align="center">
> <table border="1" cellpadding="0" cellspacing="0">
> <tr><td>
> <!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP -->
> <input type="image" name="img" src="[img]" width="400" height="300">
> </td></tr>
> </table>
> </div>
> </form>
>
> (a html text version of the form is paste at the end of this mail)
>
> my first change into this FORM was to replace action="/cgi-bin/mapserv40" by
> action="http://localhost/scripts/mapserv.exe"
>
> but nothing seems to work ...
>
> does anyone could help me ?
> does anyone can explain me the complete way to make dynamique maps with
> mapserver on Windows.
>
> thanks very much
>
> best regards
>
> Guillaume MOCCAND
> moccand at ensg.ign.fr
>
>
>
> <pre> <!-- START OF MAPSERVER FORM -->
> <form name="mapserv" method="GET" action="/cgi-
> bin/mapserv40">
> <!-- HIDDEN MAPSERVER CGI VARIABLES -->
> <input type="hidden" name="map"
> value="[map]">
> <input type="hidden" name="imgext"
> value="[mapext]">
> <input type="hidden" name="imgxy" value="199.5
> 149.5">
> <input type="hidden" name="zoom"
> value="1">
> <input type="hidden" name="mode"
> value="browse">
>
> <div align="center">
> <table border="1" cellpadding="0"
> cellspacing="0">
> <tr><td>
> <!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP --
> <input type="image" name="img"
> src="[ img ]" width="400"
> height="300">
> </td></tr>
> </table>
> </div>
> </form></pre>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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