JTS.orthodromicDistance(new Coordinate(0,0), new Coordinate(180,0), DefaultGeographicCRS.WGS84) * 2 is equal to 40075016 but must be equal to 6378000.
views:
20answers:
1
A:
You get what you asked for. Your formula calculates the circumference, which is 2*pi*radius
.
The radius is circumference / (2*pi)
, indeed about 6378000.
Vlad
2010-03-04 10:17:34
Oh yes, of course. Thank you. I need rest...
GPelya
2010-03-04 10:28:13