On Wed, 2006-10-25 at 15:32 -0400, Martin Desruisseaux wrote:
> Corey Puffalt a écrit :
> > I need to convert groups of coordinates to the UTM projection.  What I'm 
> > looking for is some way to determine the appropriate UTM zone to convert 
> > each group of coordinates to.  Does Geotools provide any way of doing 
> > this or do I have to figure out the appropriate zone myself?  The 
> > coordinates are initially in NAD27 (EPSG:4267)...
> 
> 
> There is no convenience method doing that right now, but this is relatively 
> easy 
> to to that by yourself:
>    * Computes the zone using the following formulas:
>      zone = Math.floor((longitude + 180) / 6) + 1
>      (from memory; you will have to check)

If only! The actual zones are *way* more complex than that. One of the
norwegian countries gets its own distorted zone and the poles behave
differently. It would be elegant for us to develop a real set of methods
for convert from DirectPosition to ZoneProjectionSystem. 

 adrian


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to