[mapserver-users] ITASCA3.5 demo
Marcel v d Bilt
M.v.d.Bilt at chello.nl
Tue Jun 11 15:27:40 PDT 2002
I do now get the localhost/itasca3.5/demo_init.html to produce the demo
map
<!-- MapServer version 3.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=JPEG
INPUT=GDAL INPUT=SHAPEFILE -->
<html>
<head><title>MapServer Demo Interface</title></head>
<body bgcolor=#FFFFFF>
<center><h1>MapServer Demo Interface</h1></center>
<hr>
<form method=GET action="/cgi-bin/mapserv.cgi">
<center>
<table border=0 cellspacing=0 cellpadding=4 bgcolor="#000000">
<tr>
<td valign="top" align=center>
<table cellpadding="0" cellspacing="0" border="0">
<tr><td colspan="2"><INPUT NAME="img" TYPE="image"
SRC="/itasca3.5/tmp/DEMO10238333053043.png" width=600 height=600
border=0></td></tr>
<tr>
<td> <font size=-1 face="arial,helvetica"
color="#FFFFFF"><b>Powered by MapServer</b></font></td>
<td align="right"><img
src="/itasca3.5/tmp/DEMOsb10238333053043.png"></td>
</tr>
</table>
</td>
<td valign="top" bgcolor=#ffffff>
<table cellpadding="5" cellspacing="0" border="0" bgcolor="#ffffff">
<tr><td>
<center><input type="submit" value="Refresh/Query"></center>
<p>
<input type="radio" name="mode" value="browse" checked> <b>Browse
map</b><br>
<input type="radio" name="mode" value="query"> <b>Query
feature</b><br>
<input type="radio" name="mode" value="nquery"> <b>Query multiple
features</b>
<hr>
<p>
<b>Select Layers to Display: </b><br>
<select multiple name="layer" size=3>
<option value="cities" > Cities
<option value="lakes" selected> Lakes & Rivers
<option value="streams" selected> Streams
<option value="roads" > Roads
<option value="townships" > Townships
</select>
<p>
Zoom In <input type=radio name=zoomdir value=1 >
Pan <input type=radio name=zoomdir value=0 checked>
Zoom Out <input type=radio name=zoomdir value=-1 >
<p>
Zoom Size <input type=text name=zoomsize size=4 value=2>
<p>
<font size=+1><b>Legend</b></font><br><hr>
<img src="/itasca3.5/tmp/DEMOleg10238333053043.png"><hr>
<p>
<center><INPUT NAME="ref" TYPE="image"
SRC="/itasca3.5/tmp/DEMOref10238333053043.png" border="0"></center>
</td></tr></table>
</td></tr>
</table>
</center>
<input type="hidden" name="imgxy" value="299.5 299.5">
<input type="hidden" name="imgext" value="388107.634400 5200301.166444
500896.339020 5313063.023754">
<input type="hidden" name="map"
value="[/Library/WebServer/Documents/itasca3.5/demo.map]">
<input type="hidden" name="savequery" value="true">
<input type="hidden" name="mapext" value="shapes">
</form>
<p><hr><p>
</body></html>
As one can see i changed al the gif's to png but clicking the map or
query or browsing the server
With this query -->
http://localhost/cgi-
bin/mapserv.cgi?mode=browse&layer=lakes&layer=streams&zoomdir=0&zoomsize=2&
imgxy=299.5+299.5&imgext=388107.634400+5200301.166444+500896.339020+5313063.
023754&map=%5B%2FLibrary%2FWebServer%2FDocuments%2Fitasca3.5%2Fdemo.map%5D&
savequery=true&mapext=shapes
results in
msLoadMap(): Unable to access file. Illegal mapfile name.
It is still the same demo map the first query from the demo_init.html is
quit simple-->
http://localhost/cgi-
bin/mapserv.cgi?map=%2FLibrary%2FWebServer%2FDocuments%2Fitasca3.5%2Fdemo.
map&layer=lakes&layer=streams&zoomsize=2
Could anyone give me a hint on this
Thanks
Marcel van der Bilt
the Netherlands
Amsterdam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 8348 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020612/05bc4a72/attachment.bin>
More information about the MapServer-users
mailing list