[mapserver-users] Query in frame with mapserv-demo doesn't work
Begoña Gonzalez
begodom at gmail.com
Wed Feb 13 10:51:37 PST 2008
Hello All
I´m new with MapServer.I´m trying to build my aplication based in
mapserv-demo.
All the examples of mapserv-demo works fine. I´ve made a copy of all the
files and rename the aplication.
I want to have the same results as Adds dhtml rubber-band box.
I´ve adapted the index.html, the itasca_adds_dhtml.html(renamed
plantilla.html) and itasca.map (renamed eielmap.)
In itasca_adds_dhtml.html and itasca.map I just changed regarding the layers
and the map coordinates and size.
The index.html file I have adapted in this way, to have my starup file and
not having to choose the template in the select:
<form method=GET action="frames_dhtml.html">
<input type="hidden" name="program" value="/cgi-bin/mapserv.exe">
<input type="hidden" name="template" value="plantilla.html
">
<input type="hidden" name="zoomsize" value=2>
<input type="hidden" name="map"
value="/ms4w/apps/eiel2/eielmap.map">
<input type="hidden" name="root" value="/eiel2/">
<input type="hidden" name="map_web" value="IMAGEPATH
'/ms4w/tmp/ms_tmp/' IMAGEURL '/ms_tmp/' TEMPLATE
'/ms4w/apps/eiel2/plantilla.html'">
</form>
All works fine, the zoom bottons, the layers... except the query.
When I do a query,into the bottom frame not show me anything, there is no
error message of mapserver. The browser shows a message error:
"no se puede encontrar la pagina web" "the web page is not found...", the
url command is that this seems to be well:
http://localhost/cgi-bin/mapserv.exe?mode=query&map=/ms4w/apps/eiel2/eielmap.map&imgext=642050+4192100+646950+4197000&imgxy=317+187&imgbox=317+187+317+187&imgsize=400+400&layers=ABASTECIMIENTO_A+MANZANAS
Thanks in advance and sorry form my english.
Begoña
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080213/6519e70a/attachment.htm>
More information about the MapServer-users
mailing list