/spatial-k

Spatial K - A set of Kotlin Multiplatform Libraries for working with geospatial data

Primary LanguageKotlinMIT LicenseMIT

Spatial K

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.

Installation

Java and Kotlin/JVM

dependencies {
    implementation("io.github.dellisd.spatialk:geojson:0.2.0")
    implementation("io.github.dellisd.spatialk:turf:0.2.0")
}

Kotlin Multiplatform

commonMain {
    dependencies {
        implementation("io.github.dellisd.spatialk:geojson:0.2.0")
        implementation("io.github.dellisd.spatialk:turf:0.2.0")
    }
}