Search packages, repositories and app categories

Package detailsv0.12.0

geodesy

A Dart library for geodesic and trigonometric calculations working with points and paths

AndroidiOSWebmacOSWindowsLinux
30-day downloads
14.2K
Likes
64
Pub points
160

Install package

flutter pub add geodesy

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Dart library designed for precise geodesic and trigonometric calculations, enabling accurate distance, bearing, and path computations between geographic points. It supports operations on points and paths using spherical geometry, making it ideal for mapping and location-based applications. The library is platform-agnostic, working seamlessly across Android, iOS, Web, macOS, Windows, and Linux. It is particularly useful for applications requiring high accuracy in navigation, route planning, or spatial analysis.

Use cases

  • Calculating distances between geographic coordinates
  • Computing bearings and headings between points
  • Generating waypoints along a path
  • Supporting navigation and route visualization
  • Performing geospatial analysis in apps
  • Enabling accurate map projections

Key features

  • High-precision geodesic calculations
  • Support for point and path operations
  • Cross-platform compatibility
  • Spherical trigonometry utilities
  • Lightweight and dependency-free
  • Well-documented API

Suitable for

  • Navigation app developers
  • GIS and mapping applications
  • Location-aware services
  • Route planning tools
  • Spatial data processing
  • Educational geospatial projects

Considerations

  • Requires input in decimal degrees
  • Not optimized for real-time high-frequency updates
  • Limited to spherical Earth model
  • No built-in map rendering
  • Best suited for offline or low-latency geospatial logic

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Geodesy

pub package

About

A Dart library for implementing geodesic and trigonometric calculations based on a spherical Earth model for working with points and paths such as distances, bearings and destinations.

How to Use Geodesy

Commands
For Dart
dart pub add geodesy
For Flutter
flutter pub add geodesy
Import Geodesy
import 'package:geodesy/geodesy.dart';

Class

The Geodesy class provides a collection of methods for performing various geodetic calculations, including distance calculations, point intersections, and more. This class is designed to work with geographical coordinates in the form of latitude and longitude.

Please see the Usage and Example.

Static Methods

Static methods are available without using Geodesy instance.

Please see the Usage and Example.

License

This project is licensed under MIT.

Contributors

Thank you for your contributions! We appreciate all the contributions from the community.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package