GeodeticCalculator return ArithmeticException for valid points
--------------------------------------------------------------
Key: GEOT-1535
URL: http://jira.codehaus.org/browse/GEOT-1535
Project: GeoTools
Issue Type: Bug
Components: core referencing
Affects Versions: 2.0.0
Environment: Windows 2000/ XP , Java 1.5.0.12,
Reporter: kevin hartwig
Assignee: Martin Desruisseaux
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel