geoengine
1.1.1, released 5 months ago by an unverified publisher
Dart library for geospatial analysis, distance calculations, coordinate conversions and astronomy.
What it does
GeoEngine provides geospatial and geomatic calculations including distance algorithms, coordinate conversions, map projections, MGRS, and astronomy support like moon phases and eclipses. It also includes support for GeoDataframe and Geoseries operations.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need precise distance, bearing, and geodetic calculations in pure Dart.
- You are converting coordinates between lat/lng, UTM, MGRS, and custom projections.
- Your application requires astronomical calculations such as sun/moon positions, eclipses, and Julian dates.
Skip it when
- You only need to display an interactive map widget in your UI.
- You need high-level UI mapping widgets rather than raw geospatial math operations.
Strengths
- Comprehensive suite of geodetic and coordinate transformation utilities.
- Includes niche features like astronomical calculations and Julian date conversions.
- Pure Dart support across multiple platforms.
Weaknesses
- Does not include native interactive map rendering widgets.
- Documentation is mostly centered around code snippets in the README.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 11
import 'package:geoengine/geoengine.dart';
void main() {
var point1 = LatLng(37.7749, -122.4194);
var point2 = LatLng(34.0522, -118.2437);
var distance = Distance.haversine(point1, point2);
print('Distance between points is: ${distance.valueSI} meters');
}Alternatives
Packages that do the same job and could replace geoengine.
- turf
A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.
83Compare - geoclue
Dart client for the GeoClue D-Bus geolocation service on Linux.
50Compare - carp_background_location
Background location tracking for Android and iOS using background_locator_2
50Compare - haversine_distance
Calculate the distance between two latitude and longitude coordinates
38Compare
Works with
Packages commonly used together with geoengine: ones it builds on, ones built on it, and its own family.
- mgrs_dartgeoengine depends on itUtility for converting between WGS84 lat/lng and MGRS coordinates.
- r_treegeoengine depends on itAn R-tree implementation to index and query two-dimensional data in Dart.
- geojson_vigeoengine depends on itLibrary for parsing, creating, and manipulating GeoJSON data per RFC 7946
- latlnggeoengine depends on itGeodesy and geographic calculations for Dart, offering LatLong and Mercator projection.
- kdtreegeoengine depends on itA fast Dart implementation of the k-dimensional (k-d) tree data structure.
- geoxmlgeoengine depends on itLoad, manipulate, and save GPS data in GPX and KML format in Dart.
- advance_mathgeoengine depends on itA Dart library for mathematical programming, complex numbers, algebra, statistics, and geometry.
- dartframegeoengine depends on itA data manipulation and analysis library inspired by Pandas and NumPy for Dart and Flutter.