On 27 September 2011 20:23, Harshad S <[email protected]> wrote: > Hello all, > > How do I get the coordinates of a point in the shapefile that I > display using Geotools. I want to select a point using the mouse and record > its coordinates for use in my JAVA code. Is there a function for this?
MapMouseEvent is your friend for this: http://docs.geotools.org/latest/javadocs/org/geotools/swing/event/MapMouseEvent.html Michael ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
