Ported Functions¶
Measurement¶
-
along -
area -
bbox -
bboxPolygon -
bearing -
center -
centerOfMass -
centroid -
destination -
distance -
envelope -
greatCircle -
length -
midpoint -
pointOnFeature -
polygonTangents -
pointToLineDistance -
rhumbBearing -
rhumbDestination -
rhumbDistance -
square
Coordinate Mutation¶
-
cleanCoords -
flip -
rewind -
round -
truncate
Transformation¶
-
bboxClip -
bezierSpline -
buffer -
circle -
clone -
concave -
convex -
difference -
dissolve -
intersect -
lineOffset -
simplify -
tessellate -
transformRotate -
transformTranslate -
transformScale -
union -
voronoi
Feature Conversion¶
-
combine -
explode -
flatten -
lineToPolygon -
polygonize -
polygonToLine
Miscellaneous¶
-
kinks -
lineArc -
lineChunk -
lineIntersectPartially implemented. -
lineOverlap -
lineSegment -
lineSlice -
lineSliceAlong -
lineSplit -
mask -
nearestPointOnLine -
sector -
shortestPath -
unkinkPolygon
Helper¶
Use the GeoJson DSL instead.
Random¶
-
randomPosition -
randomPoint -
randomLineString -
randomPolygon
Data¶
-
sample
Interpolation¶
-
interpolate -
isobands -
isolines -
planepoint -
tin
Joins¶
Grids¶
-
hexGrid -
pointGrid -
squareGrid -
triangleGrid
Classification¶
Aggregation¶
-
collect -
clustersDbscan -
clustersKmeans
Meta¶
Many GeoJson objects implement Collection, enabling standard Kotlin collection
operations to replace Turf meta functions.
Assertations¶
-
collectionOf -
containsNumber -
geojsonType -
featureOf
Booleans¶
-
booleanClockwise -
booleanContains -
booleanCrosses -
booleanDisjoint -
booleanEqual -
booleanOverlap -
booleanParallel -
booleanPointInPolygon -
booleanPointOnLine -
booleanWithin
Unit Conversion¶
For converting between units of length, area, and angle, see the Units module.
-
toMercator -
toWgs84