On 2020-02-28 17:58, Catalin Roman wrote:
The output is:
Azimuth=44.97189638988797
computedEndPoint=Point2D.Double[-4.00014170719737, 41.49715519864095]
Distance=53.17698966547863
I expect the computedEndPoint to be quite close to declared end point
from the begining and the distance between these two points to be
close to zero.
seems close to 0 to me; 53 meters at 41deg latitude ~~ 0.000477 deg (1
deg == 111053.88m)
Not familiar with the innards of the calculations, but you can check
your expectations with the testcases in
https://github.com/geotools/geotools/blob/master/modules/library/referencing/src/test/java/org/geotools/referencing/GeodeticCalculatorTest.java
perhaps using a different ellisoid yields better results
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users