Closed elcolto closed 7 months ago
https://github.com/dellisd/spatial-k/issues/18
Port (likely c&p) from turfjs. Return type of the function is sealed class Geometry but only can be LineString or MultiLineString Didn't copy the test geojson resource as the Kotlin double is more precise to decimal places. Added simplified test
Geometry
LineString
MultiLineString
Add several Suppress annotations for detekt issues. I think it would increase complexity when trying to resolve them by force
Suppress
I should really just get rid of Detekt
https://github.com/dellisd/spatial-k/issues/18
Port (likely c&p) from turfjs. Return type of the function is sealed class
Geometry
but only can beLineString
orMultiLineString
Didn't copy the test geojson resource as the Kotlin double is more precise to decimal places. Added simplified test