Hello Richard,

Sorry for the delayed reply...

> My first question is why do I not need to apply a transformation from lat/long
> (EPSG:4326?) to UTM in order for the points to show up on the map?

A bit of GeoTools magic :)  Data are reprojected 'on the fly' into the
projection set for the MapContext.  This is explained a bit further in
this example app:

http://geotools.org/examples/crslab.html

> When I have the points on the map I need to be able to select one using the
> mouse to display the associated feature information.  When I step though the
> code (org.geotools.swing.tool.InfoTool) it appears that the mouse click
> position is generated using UTM coordinates so they will never equal the
> coordinates of the lat/long points.  How can I get the InfoTool to work with
> lat/long coordinates?

Sigh...  the best thing about working on an open source project is
that your code is open to inspection, warts and all. And the worst
thing about working on an open source project is that your code is
open to inspection...

I'll just pop off and try to fix that particular wart now.

Michael

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to