[
https://issues.apache.org/jira/browse/SEDONA-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735532#comment-17735532
]
Doug Dennis commented on SEDONA-307:
------------------------------------
I have some work done on this by creating a more restrictive version of
splitLinesByPoints that snaps the points to the line. However, I'm still
investigating if there is a better way to do this using a function in JTS.
> splitLines not splitting always correctly
> -----------------------------------------
>
> Key: SEDONA-307
> URL: https://issues.apache.org/jira/browse/SEDONA-307
> Project: Apache Sedona
> Issue Type: Bug
> Reporter: Doug Dennis
> Priority: Major
>
> In certain situations, the splitLines method does not correctly split a line.
> The following geometry should result in a split line, however splitLines
> returns a single line geometry:
> target geometry = "LINESTRING (-8.961173822708158 -3.93776773106963,
> -8.08908227533288 -3.8845245068873444)"
> blade geometry = "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))"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)