Andrea Aime a écrit :
> GeoTools targets Java 5 at the moment. Due to differences in how
> Java 5 and Java 6 behave (the way they handle math calculations
> for example) some tests are failing in Java 6.

Andrea is right. I noticed issues in projection formulas around expressions 
like 
"atan(v1) / sqrt(v2)" when both v1 and v2 are very small. I get different 
result 
between Intel and AMD processors, between Java running in client and server 
mode 
and between 32 and 64 bits machines (not sure which one of all the above is the 
main factor).

In practice it doesn't hurt since (at least in my tests) the projected 
coordinates appear different only in place where it has no signifiance, like 
the 
longitude at poles. However the test suites have to be modified for taking in 
account those special cases. I have already done this work in an other project, 
pending completion for merge with GeoTools.

        Martin

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to