Perhaps you can define a feature collection (in memory) with your
point; declare the correct coordinate reference system for your UTM zone
(when you do this).

And then add that FeatureCollection to the screen as a separate layer?

There are a number of FeatureCollection implementations available for you to
work with:
-http://docs.geotools.org/latest/userguide/library/main/collection.html

The indexed one is very fast to display (but not suitable for use if you are
changing your point).

Jody

On Thu, Apr 28, 2011 at 10:52 PM, Francesca Martelli <
[email protected]> wrote:

> Hi all,
> I have a problem with translation from utm coordinates in screen pixel
> position. I have already seen the tutorials (world2screen,
> data2world...), but examples reported there seem do not work in my case.
>
> I have a mapContext with shapefiles in a jmappane, and I would like to
> paint a point (with position expressed in UTM coordinates) over the map.
>
> Any help is greatly appreciated.
> Francesca
>
>
> --
> Francesca Martelli, Computer Science Ph.D.
> Algorithms and Computational Mathematics Group, IIT - CNR, Pisa
> Phone: +39 050 315 3191 (office), +39 050 315 2333 (fax)
> http://www.iit.cnr.it/francesca.martelli/
> email: [email protected]
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to