Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.7.3
-
Component/s: referencing
-
Labels:None
-
Environment:Windows 2000/ XP , Java 1.5.0.12,
Description
We are using the GeodeticCalculator class to find the Azimuth between two points on the globe. When we pass the getAzimuth function 2 valid lat long points it is returning a ArithmeticException. This appears to be occuring because after 8 iterations trying to find the correct azimuth the getAzimuth function is to return an ArithmeticException. I have listed some points below which we have shown to return this exception. At this point we have no workaround for finding the azimuth if one is known that would be a great help.
Anchor Point Latitude: 40.0
Anchor Point Longitude: 10.0
Destination Point Latitude: -30.0
Destination Point Longitude: -175.0
Anchor Point Latitude: 40.0
Anchor Point Longitude: 180.0
Destination Point Latitude: -30.0
Destination Point Longitude: -5.0
Issue Links
- depends upon
-
GEOT-2117
Review GeoToolkit fixes
-