I’ve just released Spatial-K v0.4.0:
https://github.com/maplibre/spatial-k/releases/tag/v0.4.0
Spatiak-K is a collection of libraries for working with spatial data in KMP. It includes a GeoJSON implementation, a partial port of Turf.js geospatial analysis functions, and a library for working with measures with type safety (length, area, and angles/bearing). It was originally built by
dellisd and has recently been adopted into the MapLibre org for continued development.
v0.4.0 represents a major overhaul of the library. In addition to catching up on pending PRs from the last couple years, we’ve expanded Kotlin Multiplatform support, improved GeoJSON type safety with generic feature geometry and properties, improved support for Java, ported additional Turf.js functions, and quite a lot more.
Now that the library is actively maintained again, contributions are welcome!