Does anybody want earth coordinate transformation?...
# mathematics
a
Does anybody want earth coordinate transformation? I've added them because people asked me but I wonder if there are specific features people need? For example distance computations?
a
@altavir I am using Java JTS https://github.com/locationtech/jts (and some other, related libraries) for this type of work. I am developing an online GIS-exploration system using Kotlin/Spring and JTS is providing all the coordinate transformation logic (though it's quite cumbersome). I don't require distance calculations, but I am using area calculations, polygon intersection and containment, centroid calculation, etc. It would be handy to have those in Kotlin with a more modern API
a
Geographic coordinates are not the same as flat coordinates, but they are in the same module (for now). Feature requests and contributions are quite welcome. https://github.com/mipt-npm/kmath/tree/feature/mercator/kmath-geometry/src/commonTest/kotlin/space/kscience/kmath/geometry
e
@altavir Yess! I've been looking for this! I probably want to use it with my Dublins library https://kotlinlang.slack.com/archives/CE5HPKBRN/p1634828501000400