Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Here is an example:
val linestring = wktReader.read("LINESTRING (-8.961173822708158 -3.93776773106963, -8.08908227533288 -3.8845245068873444)") val polygon = wktReader.read("POLYGON ((-6.318936372442209 -6.44985859539768, -8.669092633645995 -3.0659222341103956, -6.264600073171498 -3.075347218794894, -5.3654318906014495 -3.1019726170919877, -5.488002156793005 -5.892626167859213, -6.318936372442209 -6.44985859539768))") val result: GeometryCollection = splitter.split(linestring, polygon) println(result)
The actual result is
MULTILINESTRING ((-8.961173822708158 -3.93776773106963, -8.08908227533288 -3.8845245068873444))
The expected result is
MULTILINESTRING ((-8.961173822708158 -3.93776773106963, -8.100103048843774 -3.885197350829553), (-8.100103048843774 -3.885197350829553, -8.08908227533288 -3.8845245068873444))
Attachments
Issue Links
- links to