turf 0.0.2+3 turf: ^0.0.2+3 copied to clipboard
A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.
turf.dart #
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.
Components #
Measurement #
- ❌ along
- ❌ area
- ❌ bbox
- ❌ bboxPolygon
- ✅ bearing
- ❌ center
- ❌ centerOfMass
- ❌ centroid
- ✅ destination
- ✅ distance
- ❌ envelope
- ❌ length
- ✅ midpoint
- ❌ pointOnFeature
- ❌ polygonTangents
- ❌ pointToLineDistance
- ❌ rhumbBearing
- ❌ rhumbDestination
- ❌ rhumbDistance
- ❌ square
- ❌ greatCircle
Coordinate Mutation #
- ❌ cleanCoords
- ❌ flip
- ❌ rewind
- ❌ round
- ❌ truncate
Transformation #
- ❌ bboxClip
- ❌ bezierSpline
- ❌ buffer
- ❌ circle
- ❌ clone
- ❌ concave
- ❌ convex
- ❌ difference
- ❌ dissolve
- ❌ intersect
- ❌ lineOffset
- ❌ simplify
- ❌ tesselate
- ❌ transformRotate
- ❌ transformTranslate
- ❌ transformScale
- ❌ union
- ❌ voronoi
Feature Conversion #
- ❌ combine
- ❌ explode
- ❌ flatten
- ❌ lineToPolygon
- ❌ polygonize
- ❌ polygonToLine
MISC #
- ❌ kinks
- ❌ lineArc
- ❌ lineChunk
- ❌ lineIntersect
- ❌ lineOverlap
- ❌ lineSegment
- ❌ lineSlice
- ❌ lineSliceAlong
- ❌ lineSplit
- ❌ mask
- ❌ nearestPointOnLine
- ❌ sector
- ❌ shortestPath
- ❌ unkinkPolygon
Random #
- ❌ randomPosition
- ❌ randomPoint
- ❌ randomLineString
- ❌ randomPolygon
Data #
- ❌ sample
Interpolation #
- ❌ interpolate
- ❌ isobands
- ❌ isolines
- ❌ planepoint
- ❌ tin
Joins #
- ❌ pointsWithinPolygon
- ❌ tag
Grids #
- ❌ hexGrid
- ❌ pointGrid
- ❌ squareGrid
- ❌ triangleGrid
Classification #
Aggregation #
- ❌ collect
- ❌ clustersDbscan
- ❌ clustersKmeans
META #
- ❌ coordAll
- ❌ coordEach
- ❌ coordReduce
- ❌ featureEach
- ❌ featureReduce
- ❌ flattenEach
- ❌ flattenReduce
- ❌ getCoord
- ❌ getCoords
- ❌ getGeom
- ❌ getType
- ❌ geomEach
- ❌ geomReduce
- ❌ propEach
- ❌ propReduce
- ❌ segmentEach
- ❌ segmentReduce
- ❌ getCluster
- ❌ clusterEach
- ❌ clusterReduce
Assertions #
- ❌ collectionOf
- ❌ containsNumber
- ❌ geojsonType
- ❌ featureOf
Booleans #
- ❌ booleanClockwise
- ❌ booleanContains
- ❌ booleanCrosses
- ❌ booleanDisjoint
- ❌ booleanEqual
- ❌ booleanOverlap
- ❌ booleanParallel
- ❌ booleanPointInPolygon
- ❌ booleanPointOnLine
- ❌ booleanWithin
Unit Conversion #
- ✅ bearingToAzimuth
- ✅ convertArea
- ✅ convertLength
- ✅ degreesToRadians
- ✅ lengthToRadians
- ✅ lengthToDegrees
- ✅ radiansToLength
- ✅ radiansToDegrees
- ❌ toMercator
- ❌ toWgs84