Skip to content
pubscout

coordinate_converter

1.2.3, released 2 years ago by an unverified publisher

Convert between UTM, DMS, and DD geographic coordinates using the WGS84 model.

WASM-ready
$ flutter pub add coordinate_converter
Source repository

What it does

Provides classes and methods to convert geographic coordinates between UTM (Universal Transverse Mercator), DMS (Degrees, Minutes and Seconds), and DD (Decimal Degrees) formats within the WGS84 ellipsoid model. Supports both static methods and instance-based conversions in Dart.

AI-written summary of version 1.2.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to transform GPS coordinates between Decimal Degrees, DMS, and UTM formats.
  • Your application works with maps or spatial data requiring coordinate system conversions.

Skip it when

  • You need map rendering, geolocation streaming, or geofencing features rather than coordinate math.

Strengths

  • Supports multiple coordinate formats (UTM, DMS, DD).
  • Compatible with both Flutter and pure Dart projects.
  • Provides both static conversion methods and convenient instance methods.

Weaknesses

  • Limited to the WGS84 ellipsoid model.
  • Does not include visual map widgets or rendering tools.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:coordinate_converter/coordinate_converter.dart';

DDCoordinates ddCoords = DDCoordinates(
  latitude: -20.762535,
  longitude: -41.531941,
);

DMSCoordinates convertedDMSCoords = ddCoords.toDMS();
debugPrint('Output DMS: ${convertedDMSCoords.toString()}');

Alternatives

Packages that do the same job and could replace coordinate_converter.

Works with

Packages commonly used together with coordinate_converter: ones it builds on, ones built on it, and its own family.