TestGeotoolkit Output: ====================== Setting starting point to: LG 121.53860, LT 38.96567 Setting destination point to: LG -58.81722, LT -38.48306 Exception in thread "main" java.lang.ArithmeticException: No convergence for points 121°32.3?E 38°57.9?N and 58°49.0?W 38°29.0?S. at org.geotoolkit.referencing.GeodeticCalculator.computeDirection(GeodeticCalculator.java:1064) at org.geotoolkit.referencing.GeodeticCalculator.getOrthodromicDistance(GeodeticCalculator.java:801) at com.infonova.logec.commons.service.impl.TestGeotoolkit.main(TestGeotoolkit.java:36) I do not know what the software is actually doing in the loop which starts in line 1062. Why is the exception thrown when the loop runs more than 12 times? Because I think that the distance between the give source and target location is below 20.000 km, and therefor should be correct (or is the max distance in the used ellipsoid below this limit?)