Expand description
Geographic math — distances, bearings, destinations on the sphere.
Structs§
- LonLat
- A geographic coordinate.
Constants§
- EARTH_R
- Mean Earth radius in meters.
Functions§
- bearing
- Initial bearing from
atobin degrees clockwise from north. - destination
- Destination point from
a, travellingdist_mmeters onbearing_deg. - haversine
- Great-circle distance in meters (haversine).
- polyline_
length - Total length of a polyline in meters.