Skip to content

0.1.0

Compare
Choose a tag to compare
@dellisd dellisd released this 03 Jun 04:09
· 39 commits to master since this release

Initial (non-snapshot) release of Spatial K.
Full documentation available on the project site.

GeoJson

Includes an implementation of GeoJson in Kotlin, with serialization support via kotlinx.serialization, along with a Kotlin DSL for constructing geometry, features, and feature collections.

With only a couple of exceptions, the API for the GeoJson implementation is considered stable.

Turf

A set of Turf functions ported for Kotlin Multiplatform are available in an experimental state.

The following functions are available in this release:

  • along
  • area
  • bbox
  • bboxPolygon
  • bearing
  • destination
  • distance
  • length
  • midpoint
  • lineIntersect (Partially implemented)
  • lineSlice
  • nearestPointOnLine
  • bearingToAzimuth
  • convertArea
  • convertLength
  • lengthToRadians
  • lengthToDegrees
  • radiansToLength

Turf helper functions (for constructing geometry/features) are available as the GeoJson DSL.

For full documentation on the available functions, see the project site.