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.
See the project site form more info.
dependencies {
implementation("io.github.dellisd.spatialk:geojson:0.2.0")
implementation("io.github.dellisd.spatialk:turf:0.2.0")
}
commonMain {
dependencies {
implementation("io.github.dellisd.spatialk:geojson:0.2.0")
implementation("io.github.dellisd.spatialk:turf:0.2.0")
}
}