Fwd: Selecting and then querying using multiple features
Mike Saunt
mikesaunt at GMAIL.COM
Fri Mar 30 13:25:08 PDT 2007
I sent this earlier in the week but it appears that I have hit the limit of
the MapServer CGI as I haven't had any replies - sorry sarcastic but I've
had a long week
I guess the next question would be what would it take to be able to pass
multiple items in an ITEMQUERY style command? Would it be much coding?
Would there be anyone up for it?
Many thanks
Mike
---------- Forwarded message ----------
From: Mike Saunt <mikesaunt at gmail.com>
Date: 26-Mar-2007 22:53
Subject: Selecting and then querying using multiple features
To: MAPSERVER USERS <MAPSERVER-USERS at lists.umn.edu>
Hi all
In essence this is what I'm trying to achieve but I'm trying to work out the
best way of doing it - I want to use the CGI as it is powerful, very stable
and extremley fast. I've had great success with MapServer before where it
can perform queries against tens of layers in under 2 seconds when having
one feature to select against.
Here is the problem...
I want a user to be able to interactively from multiple clicks on a map to
select features and then they can issue a query taking all selected features
and doing feature intersect queries against multiple other layers. Pretty
simple!
I'm fine with writing wrapper code to allow the user to select a feature at
a point - MODE=QUERY - and then find and store the feature id's for
subsequent calls to the CGI
Is there a way to be able to pass multiple feature id's to MapServer to
highlight as selected in a maps? Then in the same fashion can I pass
multiple feature id's (acting as the selection again) to then be used in a
NQUERY to find which features from other layers intersect.
Should I be looking at using a QUERYFILE? Is this possible - I'm sure it is
as everything else I've wanted to do the CGI seems to be able to do it!
Thanks in advance
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070330/8e04772d/attachment.htm>
More information about the MapServer-users
mailing list