Search packages, repositories and app categories

Package detailsv0.1.0

turf_equality

Comparison of two GeoJSON objects, based on the turf pub-package

AndroidiOSWebmacOSWindowsLinux
30-day downloads
162K
Likes
2
Pub points
150

Install package

flutter pub add turf_equality

Package Overview

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

turf_equality is a Flutter/Dart package that enables comparison of two GeoJSON objects, ensuring they are geometrically and structurally equivalent. Based on the popular turf.js library, it provides accurate spatial equality checks for geographic data, useful in validation and data integrity workflows. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it ideal for cross-platform geospatial applications. It integrates seamlessly with Flutter projects via pub.dev.

Use cases

  • Validating GeoJSON data integrity
  • Comparing map features during synchronization
  • Testing geospatial logic in apps
  • Ensuring consistency in GIS operations
  • Verifying spatial data updates

Key features

  • Accurate GeoJSON object comparison
  • Supports all standard GeoJSON types
  • Cross-platform compatibility
  • Lightweight and easy to integrate
  • Based on proven turf.js algorithms

Suitable for

  • GIS developers
  • Flutter apps with map features
  • Data validation tools
  • Spatial analysis applications
  • Geospatial testing frameworks

Considerations

  • Requires valid GeoJSON input
  • May not handle non-standard GeoJSON extensions
  • Performance depends on geometry complexity
  • Limited to equality checks, not similarity or tolerance-based comparisons

Original README

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

turf_equality

Comparison of two GeoJSON objects, based on the geotypes library.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package