busstoptaktik / geodesy

Rust geodesy
Apache License 2.0
66 stars 6 forks source link

Improve test support #13

Closed busstoptaktik closed 3 years ago

busstoptaktik commented 3 years ago

A CoordinateTuple::dms(latd, latm, lats, lond, lonm, lons, h, t) would vastly simplify harvesting of test coordinates from published literature.

A point1.rough_distance_2D(point2), giving spherical distance between geographical coordinates on a 6400 km sphere, and a point1.rough_distance_3D(point2) giving "hypot3D supposing the ellipsoid is a 6400 km sphere" would be very useful in tests, providing upper bounds for deviations between computed and expected coordinates.

busstoptaktik commented 3 years ago

(mostly) closed with ea7bdcb192b5e9528dfdb0111e008a5a27aa3fdb