To be honest I haven't worked too much with the ka-map query system, especially with vector data. However, I do plan on working on this soon.<br><br>What you've described actually sounds fairly easy to implement. Mapserver takes care of selecting the objects that fall within the bounding box given and returns the attributes of the results (I believe). So ka-map is actually just allowing you to define the rectangle and it sends that rectangle to Mapserver which executed the query.
<br><br>I suggest you check out 2 things:<br>First, Mapserver's documentation of its query system.<br>Second, take a look at map_query_float.php in the ka-map source. It takes the query bounding box as arguments, makes the mapserver call, and then echoes the results to an HTML div waiting for the reply.
<br><br>Hope it works! We'll all love to see the app you come up with! <br><br>Sam<br><br><br><br><div><span class="gmail_quote">On 9/18/07, <b class="gmail_sendername">Fox, Alistair D (SKM)</b> <<a href="mailto:AFox@skm.com.au">
AFox@skm.com.au</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Thanks Sam,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">I would assume if you can do a query on point data then
line and polygon data would be the same. Just a few techy questions. I gather to
be able to do this the source data would need to be served out from a mapserver
instance. Are there any examples of this out on the web. I'm yet to see any. On
a scale of 1-10 how difficult would it be to develop what my client is after.
Eg: draw rectangle and select spatial objects (point/ line / poly) and then
return attributes of selection for further manipulation.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Alistair</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Samuel Hiatt [mailto:<a href="mailto:samhiatt@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">samhiatt@gmail.com</a>]
<br><b>Sent:</b> Tuesday, 18 September 2007 12:50 AM<br><b>To:</b> Fox, Alistair
D (SKM)<br><b>Cc:</b> <a href="mailto:ka-map-users@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ka-map-users@lists.maptools.org</a><br><b>Subject:</b> Re:
[ka-Map-users] selection sets<br></font><br></div><div><span class="e" id="q_1151b4fb5b7bd033_1">
<div></div>Hi there Alistair!<br><br>Yes! ka-map is the answer to all your
problems! :p You can definitely do a query on point data with a
rectangle bounding box. I couldn't help you too much with the details of
it as I work mainly with raster data at this point, but there are plenty of us
around here who would be happy to help you get kamap set up and running!
<br><br>Sam<br><br><br><br><br>
<div><span class="gmail_quote">On 9/16/07, <b class="gmail_sendername">Fox, Alistair
D (SKM)</b> <<a href="mailto:AFox@skm.com.au" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">AFox@skm.com.au</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><font color="#000000" face="Arial" size="2">Hi. I'm a newbie to Ka-map and are
looking to confirm potential functionality for a client. From what i have seen
so far this is an execellent project. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">One of the requirements my client has is the
ability to do the normal GIS function of dragging a rectangle over the
map and be able to select the features that are within that area. Then the
ability to working with this selection set. e.g: display attributes about the
features.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">What i need to know is can you do this at the
moment, (i havn't seen any examples) and if not is it possible with some
customisation. </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Hope someone out there can help.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Alistair</font></div><br>SKM is committed to
working with its clients to deliver a sustainable future for all. Please
consider the environment before printing this e-mail.<br>Notice - This message
contains confidential information intended only for the exclusive use of the
addressee named above. No confidentiality is waived or lost by any mistaken
transmission to you. If you have received this message in error please delete
the document and notify us immediately. <br>Any opinion, text, documentation
or attachment received is valid as at the date of issue only. The recipient is
responsible for reviewing the status of the transferred information and should
advise us immediately upon receipt of any discrepancy. <br>All email sent to
SKM will be intercepted, screened and filtered by SKM or its approved Service
Providers.<br></div><br>_______________________________________________<br>ka-Map-users
mailing list<br><a href="mailto:ka-Map-users@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ka-Map-users@lists.maptools.org
</a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br><br></blockquote>
</div><br>
<br>
SKM is committed to working with its clients to deliver a sustainable future for all. Please consider the environment before printing this e-mail.<br>
Notice - This message contains confidential information intended only for the exclusive use of the addressee named above. No confidentiality is waived or lost by any mistaken transmission to you. If you have received this message in error please delete the document and notify us immediately.
<br>
Any opinion, text, documentation or attachment received is valid as at the date of issue only. The recipient is responsible for reviewing the status of the transferred information and should advise us immediately upon receipt of any discrepancy.
<br>
All email sent to SKM will be intercepted, screened and filtered by SKM or its approved Service Providers.<br>
</span></div></div>
</blockquote></div><br>