Skip to content

Ported Functions

Measurement

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

Miscellaneous

Helper

Use the GeoJson DSL instead.

Random

  • randomPosition
  • randomPoint
  • randomLineString
  • randomPolygon

Data

  • sample

Interpolation

  • interpolate
  • isobands
  • isolines
  • planepoint
  • tin

Joins

Grids

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