Hi

So as I understand you need the information at a point on the map like we are doing for the info view correct? You can create a Tool and with the ToolContext (getContext()) you can create a bbox in the correct projection for the layer being queried. Then you can get the features from within that BBox. I think there may be methods on the ToolContext to help with that.

Take a look at the code examples we have:

http://svn.refractions.net/udig/udig/branches/1.1.x/udig/tutorials/net.refractions.udig.tutorials.examples/src/net/refractions/udig/tutorials/examples/

Jesse
On 17-Feb-09, at 10:52 AM, Sameera Abeysinghe wrote:

Hi,

when I click on the map I need to get all the information about every thing within a X meters redious from the point I clicked. X is variable given by the user.

How can I do this?

Where can I put an list box or text box to input X?

What tools can I use?



I am new to uDig

Thank You



--
Sameera Abeysinghe
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to