geodesy library

Ellipsoidal (vincenty) and spherical (great circle, rhumb line) geodesy tools, with ellipsoidal datum, UTM, MGRS and ECEF support.

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

Usage: import package:geobase/geodesy.dart

Classes

Datum
A geodetic datum with a reference ellipsoid and datum transformation parameters.
Ellipsoid
A reference ellipsoid with ellipsoidal parameters (a, b and f).
Ellipsoidal
The base class for calculations related to the Earth surface modeled by ellipsoidal reference frames with geographic position (latitude, longitude) as an origin.
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.
Geocentric
The base class for calculations related to the Earth surface modeled by ellipsoidal reference frames with geocentric cartesian position (X, Y, Z) as an origin.
GeodeticArcSegment
A geodetic (geographic) arc segment between the origin position and the destination position along a geodesic.
HistoricalEllipsoids
Some historical geodetic ellipsoids defined as static constants.
Mgrs
Military Grid Reference System (MGRS/NATO) grid references, with methods to parse references, and to convert between MGRS references and UTM coordinates.
MgrsGridSquare
The 100km grid square (or the 100,000-meter square identifier) as a part of the grid zone in MGRS/NATO grid references.
MgrsGridZone
A grid zone as a polygon of 6° × 8° in MGRS/NATO grid references.
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.
Utm
UTM coordinates, with functions to parse them and convert them to geographic points.
UtmMeta<T extends Object>
Metadata (convergence and scale) as a result from UTM calculations related to position.
UtmZone
The UTM zone represented by the lonZone number and hemisphere.

Enums

CoordRefSysType
An enumeration of common coordinate reference system (CRS) types.
Coords
An enum for coordinate types (by spatial dimension and whether is measured).
Hemisphere
An enum representing the hemispheres of the Earth.

Extensions

DoubleAngleExtension on double
An extension on double with basic degrees and radians utility methods.
EllipsoidalExtension on Geographic
An extension of the Geographic class providing calculations related to the Earth surface modeled by ellipsoidal reference frames (or datums).
EllipsoidalVincentyExtension on Geographic
An extension for easier access to EllipsoidalVincenty.
GeographicDoubleAngleExtension on double
An extension on double with basic degrees and radians utility methods ( (for geographic coordinate reference systems).
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.

Constants

earthCircumferenceWgs84 → const double
The earth circumference in meters (from earth equatorial radius by WGS 84).
earthRadiusWgs84 → const double
The earth equatorial radius in meters as specified by WGS 84.
maxLatitude → const double
The maximum value for the geographic latitude.
maxLatitudeUTM → const double
The maximum value for the geographic latitude inside the Universal Transverse Mercator (UTM) projection coverage.
maxLatitudeWebMercator → const double
The maximum value for the geographic latitude inside the Web Mercator projection coverage.
maxLongitude → const double
The maximum value for the geographic longitude.
minLatitude → const double
The minimum value for the geographic latitude.
minLatitudeUTM → const double
The minimum value for the geographic latitude inside the Universal Transverse Mercator (UTM) projection coverage.
minLatitudeWebMercator → const double
The minimum value for the geographic latitude inside the Web Mercator projection coverage.
minLongitude → const double
The minimum value for the geographic longitude.