Spatial K is a set of libraries for working with geospatial data in Kotlin inlcuding an implementation of GeoJson and a port of Turfjs written in pure Kotlin. It supports Kotlin Multiplatform and Java projects while also featuring a Kotlin DSL for building GeoJson objects.
dependencies {
implementation "io.github.dellisd.spatialk:geojson:0.1.0"
implementation "io.github.dellisd.spatialk:turf:0.1.0"
// Kotlin only
implementation "io.github.dellisd.spatialk:geojson-dsl:0.1.0"
}
commonMain {
dependencies {
implementation "io.github.dellisd.spatialk:geojson:0.1.0"
implementation "io.github.dellisd.spatialk:turf:0.1.0"
implementation "io.github.dellisd.spatialk:geojson-dsl:0.1.0"
}
}