Hi Steve,<br><br>Thanks for the response.&nbsp; It's always good to know there's someone out there that can help!<br><br>Here's our situation.&nbsp; We use MapServer CGI wrapped in a C# application.&nbsp; The app would call MapServer with various CGI parameters depending on what the user is doing in the application.
<br><br>One functionality we need is to hilite features on a map and for it to return results of features from other layers intersecting it.&nbsp; The return results party is working great.<br><br>A single feature can be hilited at the moment using mode=featurenquery, slayer, and passing 
img.x and img.y.&nbsp; For example, this might be a building parameter.&nbsp; This works to a degree.&nbsp; We haven't been able to control the colour correctly with QUERYMAP and COLOR.&nbsp; But that's another issue.<br><br>Hiliting multiple features is what we are after.&nbsp; We would like our users to be able to click on a feature on the map through our application.&nbsp; Then we would hilite this through MapServer.&nbsp; Then the user can click on more features.&nbsp; We'd like the initial feature, and any features clicked on after to be all hilighted.&nbsp; 
e.g. user clicks on three building parameters.<br><br>The problem we are facing is hiliting multiple features.&nbsp; Do you have any suggestions on how we may do this?<br><br>Xin<br><br><div><span class="gmail_quote">On 13/04/06, 
<b class="gmail_sendername">Steve Lime</b> &lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Xin: There's a big difference between a feature and a shape though. The<br>imgshape parameter was intended for use with something really simple<br>like a DHTML digitizer so at this point it only supports a single feature. It
<br>would not be hard to hack mapserv.c to allow mulitple instances of<br>imgshape to build up a more complex feature (holes, multiple outer rings).<br><br>I'm not sure if that's what you need though. There are other ways to
<br>highlight features. Perhaps you could describe the steps in which the<br>application is used along with desired outputs. That would make it easier<br>to suggest alternatives.<br><br>Steve<br><br>&gt;&gt;&gt; Xin &lt;<a href="mailto:crazygecko@GMAIL.COM">
crazygecko@GMAIL.COM</a>&gt; 4/13/2006 4:51:47 AM &gt;&gt;&gt;<br>We are user MapServer cgi to hilite features the user select on.&nbsp;&nbsp;This is<br>done by using mode=featurequery and slayer.&nbsp;&nbsp;We need to selectemultiple<br>features, and have them hilighted.&nbsp;&nbsp;Having looked at the docs, there doesn't
<br>seem to be any obvious ways of doing this.<br><br>One possible solution is to use IMGSHAPE and nquery.&nbsp;&nbsp;This is documented as:<br><br>Shape given in image coordinates.<br><br>An arbitrary polygon shape to be used for query purposes. Multiple instances
<br>simply add parts to the shape so it is possible to construct a shape with<br>holes. Used with modes NQUERY and NQUERYMAP.<br>But using imgshape would require one than one polygon being passed through.<br>Rick asked this in March without getting a response.&nbsp;&nbsp;Is it possible to pass
<br>multiple polygons using imgshape?<br><br>Any other suggestions are more than welcome.<br><br>Cheers,<br>Xin<br><br></blockquote></div><br>