GeographicLib
A Rust interface to GeographicLib
A library for solving geodesic problems
Usage
Add this to your Cargo.toml
:
[]
= "0.1.0"
Example
use Geodesic;
let g = wgs84;
let = ; // Berkeley, California
let = ; // Port Moresby, New Guinea
let = g.inverse;
assert_eq!; // Distance in degrees
assert_eq!; // Distance in meters
assert_eq!; // Azimuth at (lat1, lon1)
assert_eq!; // Azimuth at (lat2, lon2)
License
This version is released under the same license as GeographicLib; MIT/X11 License