An assertion, active only in integration tests for GeWave, within the GeoTools code checks between ellipsoid distance and spherical distance (both orthodromic distance computations).
d1 = od
d2 = ed
if (abs(d1-d2) < 1E-14) fail.
When the points are close together, the difference in the distance is above 1E-14. 'Close'. in this case is, defined as 0.05 meter. In this case, just use the elliptical distance. This will not occur at the poles, as GeoTool's code uses Ellipsoid in this case (no comparison).
The assertion should be ignored for GeoWaves's purposes.
An assertion, active only in integration tests for GeWave, within the GeoTools code checks between ellipsoid distance and spherical distance (both orthodromic distance computations).
d1 = od
d2 = ed
if (abs(d1-d2) < 1E-14) fail.
When the points are close together, the difference in the distance is above 1E-14. 'Close'. in this case is, defined as 0.05 meter. In this case, just use the elliptical distance. This will not occur at the poles, as GeoTool's code uses Ellipsoid in this case (no comparison).
The assertion should be ignored for GeoWaves's purposes.