geodesy library

Ellipsoidal (vincenty) and spherical (great circle, rhumb line) geodesy tools.

Spherical and ellipsoidal geodesy tools by Chris Veness 2002-2024 (MIT Licence) ported to Dart by Navibyte.

See links for the original work:

This libary exports a subset of package:geobase/geobase.dart.

Usage: import package:geobase/geodesy.dart

Classes

Ellipsoidal
The base class for calculations related to the Earth surface modeled by ellipsoidal reference frames.
EllipsoidalVincenty
Distances & bearings between points, and destination points given start points & initial bearings, calculated on an ellipsoidal earth model using ‘direct and inverse solutions of geodesics on the ellipsoid’ devised by Thaddeus Vincenty.
GeodeticArcSegment
A geodetic (geographic) arc segment between the origin position and the destination position along a geodesic.
SphericalGreatCircle
Latitude/longitude points on a spherical model earth, and methods for calculating distances, bearings, destinations, etc on (orthodromic) great-circle paths.
SphericalGreatCircleLineString
Calculations for line strings (as an iterable of geographic positions) on a spherical model earth (great-circle paths).
SphericalRhumbLine
Latitude/longitude points on a spherical model earth, and methods for calculating distances, bearings, destinations, etc on (loxodromic) rhumb lines.

Extensions

EllipsoidalExtension on Geographic
An extension of the Geographic class providing calculations related to the Earth surface modeled by ellipsoidal reference frames.
EllipsoidalVincentyExtension on Geographic
An extension for easier access to EllipsoidalVincenty.
SphericalGreatCircleExtension on Geographic
An extension for easier access to SphericalGreatCircle.
SphericalGreatCircleIterableExtension on Iterable<Geographic>
An extension for easier access to SphericalGreatCircleLineString for iterables of geographic positions.
SphericalGreatCirclePositionSeriesExtension on PositionSeries
An extension for easier access to SphericalGreatCircleLineString for series of positions.
SphericalRhumbLineExtension on Geographic
An extension for easier access to SphericalRhumbLine.