Hi,
I am trying to find the position of the interruption in a polyline. I have already filtered the broken line, now I need the coordinates of the interruption point.
Hi,
I am trying to find the position of the interruption in a polyline. I have already filtered the broken line, now I need the coordinates of the interruption point.
Hi @sebastiangoerck, just an idea:
Hi,
thank you, I get 90% of the cases out. Unfortunately, those where there are larger gaps not.
does anyone have an idea how I can also find the larger interruptions on a line chain?
@sebastiangoerck
Extract the endpoints using a coordinate extractor.
Calculate distance between these points.
Smallest distance would be the interrupted section.
If you want to join them, you can then replace one coordinate with the other, depending which line is your anchor.
Or get the center point of the bounding box of the interruption and use center, if this is acceptable.
i tried it, but i dont know how can i extract the endpoint from a multicurve. if i try to use a coordinateextractor with 0 an -1 then i got any first coordinate from a part an any last coordinate from a part.
is it possible to convert such multicurve with many parts du one line ?