Changes between Initial Version and Version 1 of Ticket #12427, comment 4
- Timestamp:
- 2016-01-24T11:36:08+01:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12427, comment 4
initial v1 1 1 MapStatus.java patch has been broken due to a collision in mid air.. 2 2 3 The euclidianDistance() function interprets the output of distance() as an angular distance {{{d}}}. distance() itself calculates length of a line in a Cartesian coordinate system, with a value range from -180 to 180 on the x-axis and -90 to 90 on the y-axis. For points farther apart than 180 degrees it will not return shortest distance (wrt to the same points on a great circle of earth).3 The euclidianDistance() function interprets the output of distance() as an angular distance {{{d}}}. distance() itself calculates length of a line in a Cartesian coordinate system, with a value range from -180 to 180 on the x-axis and -90 to 90 on the y-axis. 4 4 5 5 {{{d}}} is a fraction of a full circle (360 degrees or 2*pi), so euclidianDistance() scales that fraction to the same great circle eventually used by greatCircleDistance() - given by earth's mean radius.


