Changes between Initial Version and Version 1 of Ticket #12427, comment 4


Ignore:
Timestamp:
2016-01-24T11:36:08+01:00 (10 years ago)
Author:
cmuelle8

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12427, comment 4

    initial v1  
    11MapStatus.java patch has been broken due to a collision in mid air..
    22
    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).
     3The 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.
    44
    55{{{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.