I already have my layers definition with template...
from Oscar ^_^ <[EMAIL PROTECTED]> hide details 7:57 pm (58 minutes ago) to Begoña Gonzalez <[EMAIL PROTECTED]> date Feb 13, 2008 7:57 PM subject Re: [mapserver-users] Query in frame with mapserv-demo doesn't work mailed-by gmail.com Hello Begoña, to do a query in a layer You must put it queryable. Configure a TEMPLATE in your layer definition to make your layer queryable. 2008/2/13, Begoña Gonzalez <[EMAIL PROTECTED]>: > > > - Hide quoted text - > 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 _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
