<br><br><div><span class="gmail_quote">2007/8/1, Richard Greenwood <<a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 8/1/07, s r <<a href="mailto:srph124@yahoo.com">srph124@yahoo.com</a>> wrote:<br>> Hi<br>> i'm new to mapserver. i've read tutorials and set up a sample webGIS. now i<br>> have some question. (I just know abit javascript)
<br>> 1.About multi select, can client select multiple features (for example,by<br>> clicking and dragging to draw a selection window or by holding Ctrl and<br>> clickingor else)? How?<br>Yes<br>> 2. About query results, Is there any way to show the results in another
<br>> page(i mean opening new page) to client?<br>Yes<br><br>The answer to both questions depends on the client that you are<br>running. The client is the JavaScript that runs in the browser.<br>Picking a client that is appropriate to your needs is important (and
<br>sometimes hard).</blockquote><div><br>But the client could also be a Java applet (Jbox, Rosa...) or flash ecc. Then for me the client is the whole browser, howevrer this is not important.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In order to select multiple features, you will need to use 'classic'<br>MapServer, not WMS, as WMS does not support multiple feature selection<br>(someone correct me if I am wrong). </blockquote><div><br>Don't know about this, however with Mapserver in cgi mode, u could build a query like this:
<br><br>queryString = baseUrl+layersString+"&mode=nquery&imgext="+imgext+"&imgxy="+imgxy+ "&imgbox="+imgbox +"&savequery=true&map_querymap_size=140 120";<br>
</div>Which is indipendent on what you are using to build it (JavaScript + svg, JavaScript + HTML, javaScript + Java,<br>pure Java, Flash ecc.) .<br>For opening query results in a new page, it's possibile but as said, it depends on tecnologies used (I think).
<br>U could do so opening a new window with JavaScript and passing to the window URL the parameters u use to do the query (mode, imgext ecc..).<br><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
One client that does support<br>multiple feature selection and 'classic' MapServer is dBox.</blockquote><div><br>Yes, and also the above jBox (the dbox equivalent in Java) and Rosa applet (I don't know if there are
<br>other Open Source clients...).<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Rich<br><br>--<br>Richard Greenwood<br><a href="mailto:richard.greenwood@gmail.com">
richard.greenwood@gmail.com</a><br><a href="http://www.greenwoodmap.com">www.greenwoodmap.com</a><br></blockquote></div><br><br>Cheers<br> Piero