FLUTTER ECOSYSTEM

turf

A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.

Latest version
0.0.14
30-day downloads
126K
Likes
50
Pub points
150

Package Overview

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

Overview

Turf is a geospatial analysis library for Dart, inspired by turf.js, designed to work with GeoJSON data. It provides a suite of tools for performing spatial operations such as distance calculations, buffering, intersection, and more, all in pure Dart. Ideal for applications requiring real-time geographic computations without relying on native platform code. The library supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it highly versatile for cross-platform development. Its lightweight nature and compatibility with Flutter make it suitable for maps and location-based features.

Use cases
  • Geospatial data processing
  • Map-based analytics
  • Location-aware applications
  • Real-time spatial calculations
  • GeoJSON manipulation
Key features
  • Pure Dart implementation
  • Supports GeoJSON
  • Cross-platform compatibility
  • Turf.js-like API
  • Extensive spatial operations
Suitable for
  • Flutter developers
  • GIS applications
  • Mobile and web mapping
  • Data scientists working with location data
  • Applications needing offline geospatial logic
Considerations
  • Requires GeoJSON input format
  • Limited to basic geospatial functions
  • No built-in map rendering
  • Performance depends on data size
  • Not optimized for very large datasets
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add turf

Categories

Dependencies

Dependency list 6 items

Source repository

Related projects