Some questions abut MapServer features

Piero Cavalieri piero.cavalieri at GMAIL.COM
Wed Aug 1 07:31:41 PDT 2007


2007/8/1, Richard Greenwood <richard.greenwood at gmail.com>:
>
> On 8/1/07, s r <srph124 at yahoo.com> wrote:
> > Hi
> > i'm new to mapserver. i've read tutorials and set up a sample webGIS.
> now i
> > have some question. (I just know  abit javascript)
> > 1.About multi select, can client select multiple features (for
> example,by
> > clicking and dragging to draw a selection window or by holding Ctrl and
> > clickingor else)? How?
> Yes
> > 2. About query results, Is there any way to show the results in another
> > page(i mean opening new page) to client?
> Yes
>
> The answer to both questions depends on the client that you are
> running. The client is the JavaScript that runs in the browser.
> Picking a client that is appropriate to your needs is important (and
> sometimes hard).


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.

In order to select multiple features, you will need to use 'classic'
> MapServer, not WMS, as WMS does not support multiple feature selection
> (someone correct me if I am wrong).


Don't know about this, however with Mapserver in cgi mode, u could build a
query like this:

queryString =
baseUrl+layersString+"&mode=nquery&imgext="+imgext+"&imgxy="+imgxy+
"&imgbox="+imgbox +"&savequery=true&map_querymap_size=140 120";

Which is indipendent on what you are using to build it (JavaScript + svg,
JavaScript + HTML, javaScript + Java,
pure Java, Flash ecc.) .
For opening query results in a new page, it's possibile but as said, it
depends on tecnologies used (I think).
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..).


One client that does support
> multiple feature selection and 'classic' MapServer is dBox.


Yes, and also the above  jBox (the dbox equivalent in Java) and Rosa applet
(I don't know if there are
other Open Source clients...).

Rich
>
> --
> Richard Greenwood
> richard.greenwood at gmail.com
> www.greenwoodmap.com
>


Cheers
 Piero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070801/a241dd4b/attachment.htm>


More information about the MapServer-users mailing list