Hi all<br><br>In essence this is what I&#39;m trying to achieve but I&#39;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.&nbsp; I&#39;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.<br><br>Here is the problem...<br><br>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.&nbsp; Pretty simple!
<br><br>I&#39;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&#39;s for subsequent calls to the CGI<br><br>Is there a way to be able to pass multiple feature id&#39;s to MapServer to highlight as selected in a maps?&nbsp; Then in the same fashion can I pass multiple feature id&#39;s (acting as the selection again) to then be used in a NQUERY to find which features from other layers intersect.
<br><br>Should I be looking at using a QUERYFILE?&nbsp; Is this possible - I&#39;m sure it is as everything else I&#39;ve wanted to do the CGI seems to be able to do it!<br><br>Thanks in advance<br>Mike<br><br><br><br><br><br>