NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #2791 most downloaded on pub.dev
A Dart library for geodesic and trigonometric calculations working with points and paths
Latest stable
0.12.0
Last release 1 months ago
19 Oct 2026
Ships unpredictably
gaps range from 9 days to 2.6 years
Nearly every release is documented
notes for 19 of 19 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
20 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
This release corrects distance, polygon-area, and geodesic-line calculations. It includes breaking changes where previous results used incorrect units…
This release corrects distance, polygon-area, and geodesic-line calculations. It includes breaking changes where previous results used incorrect units or geometry.
equirectangularDistance and sphericalLawOfCosinesDistance now return meters.
1,000 when kilometers are required.Polygon APIs now return square meters using spherical geometry.
Undefined geodesics now throw ArgumentError.
This includes:
StateError for non-convergent antipodal or nearly antipodal pairs.null for disjoint segments.null for coincident or overlapping segments without a unique intersection.Full Changelog: https://github.com/wingkwong/geodesy/compare/0.11.0...0.12.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
ArgumentError.null.Increased the minimum Dart SDK version to 3.2.0 in pubspec.yaml to support newer language features and maintain compatibility.
Dependency and SDK updates:
3.2.0 in pubspec.yaml to support newer language features and maintain compatibility.latlong2 dependency to version ^0.10.0 in pubspec.yaml.lints to ^6.0.0 and test to ^1.31.2 in pubspec.yaml.Full Changelog: https://github.com/wingkwong/geodesy/compare/0.10.2...0.11.0
latlong2 to ^0.10.0.lints to ^6.0.0 and test to ^1.31.2.chore(deps): update dependency lints to v3 by @renovate in https://github.com/wingkwong/geodesy/pull/41
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.10.1...0.10.2
Release: 0.10.1 by @wingkwong in https://github.com/wingkwong/geodesy/pull/40
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.10.0...0.10.1
example/README.md with runnable usage guidance.Implement Geodesic Measurements
Co-authored-by: @wingkwong Co-authored-by: @ayoubzulfiqar
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.9.0...0.10.0
calculatePolyLineLength for measuring a path through multiple points.calculatePolygonArea for polygon area calculations.calculateGeodesicLineIntersection for geodesic intersections.projectPointOntoGeodesicLine for projecting a point onto a geodesic.Geodesy facade to expose the new calculations.Implement DistanceCalculations: EquirectangularApproximation, and SphericalLawOfCosines
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.8.0...0.9.0
calculateDestinationPoint for distance-and-bearing offsets.Implemented Polygon Area With Hole Calculation
Co-authored-by: @wingkwong Co-authored-by: @ayoubzulfiqar
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.7.0...0.8.0
toRadians numeric extension used by geodesic calculations.Refactored by @ayoubzulfiqar in https://github.com/wingkwong/geodesy/pull/29
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.6.0...0.7.0
Geodesy class as a facade over the new core modules.features & improvements by @ayoubzulfiqar in https://github.com/wingkwong/geodesy/pull/25
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.5.0...0.6.0
findPolygonCentroid using the polygon's signed area and vertices.getPolygonIntersection to collect intersections between polygon
edges.feature & updates by @ayoubzulfiqar in https://github.com/wingkwong/geodesy/pull/23
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.4.2...0.5.0
greatCircleDistanceBetweenTwoGeoPoints using the haversine formula.getRectangleBounds for finding a polygon's rectangular extent.calculateBoundingBox around a center point and distance.fixed & improved by @ayoubzulfiqar in https://github.com/wingkwong/geodesy/pull/22
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.4.1...v0.4.2
Fix isGeoPointInBoundingBox by @wingkwong in https://github.com/wingkwong/geodesy/pull/20
Full Changelog: https://github.com/wingkwong/geodesy/compare/0.4.0...0.4.1
isGeoPointInBoudingBox API to
isGeoPointInBoundingBox.added dart 3 compatible changes
Full Changelog: https://github.com/wingkwong/geodesy/commits/0.4.0
latlong2.LatLng values where possible.Migrated library source, examples, and tests to sound null safety.
Added the first automated test suite for core geodesy calculations.
pointsInRange for filtering points within a given distance.Made Earth-radius parameters optional where a default radius is available.
pedantic lint dependency.Deprecated the package-local LatLng implementation.
LatLng from the
latlong package.LatLng type.LatLng implementation.degreesToRadians and radiansToDegrees in favor of dependency
utilities.Added intersectionByPaths for finding the intersection of two paths from their start points and bearings.
intersectionByPaths for finding the intersection of two paths from
their start points and bearings.crossTrackDistanceTo for measuring distance from a point to a path.isGeoPointInPolygon using ray casting.Added a runnable package example.
Published the initial package release.
LatLng coordinate type.One column per quarter.