THIS PROJECT IS WORK IN PROCESS
A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.
This includes a fully RFC 7946-compliant object-representation and serialization for GeoJSON.
Most of the implementation is a direct translation from turf.js.
Tests are run with dart test
and benchmarks can be run with
dart run benchmark
Any new benchmarks must be named *_benchmark.dart
and reside in the
./benchmark
folder.
- along
- area
- bbox
- bboxPolygon
- bearing
- center
- centerOfMass
- centroid
- destination
- distance
- envelope
- length
- midpoint
- pointOnFeature
- polygonTangents
- pointToLineDistance
- rhumbBearing
- rhumbDestination
- rhumbDistance
- square
- greatCircle
- cleanCoords
- flip
- rewind
- round
- truncate
- bboxClip
- bezierSpline
- buffer
- circle
- clone
- concave
- convex
- difference
- dissolve
- intersect
- lineOffset
- simplify
- tesselate
- transformRotate
- transformTranslate
- transformScale
- union
- voronoi
- combine
- explode
- flatten
- lineToPolygon
- polygonize
- polygonToLine
- kinks
- lineArc
- lineChunk
- lineIntersect
- lineOverlap
- lineSegment
- lineSlice
- lineSliceAlong
- lineSplit
- mask
- nearestPointOnLine
- sector
- shortestPath
- unkinkPolygon
- randomPosition
- randomPoint
- randomLineString
- randomPolygon
- sample
- interpolate
- isobands
- isolines
- planepoint
- tin
- pointsWithinPolygon
- tag
- hexGrid
- pointGrid
- squareGrid
- triangleGrid
- collect
- clustersDbscan
- clustersKmeans
- coordAll
- coordEach
- coordReduce
- featureEach
- featureReduce
- flattenEach
- flattenReduce
- getCoord
- getCoords
- getGeom
- getType
- geomEach
- geomReduce
- propEach
- propReduce
- segmentEach
- segmentReduce
- getCluster
- clusterEach
- clusterReduce
- collectionOf
- containsNumber
- geojsonType
- featureOf
- booleanClockwise
- booleanContains
- booleanCrosses
- booleanDisjoint
- booleanEqual
- booleanOverlap
- booleanParallel
- booleanPointInPolygon
- booleanPointOnLine
- booleanWithin