You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A similar error occurs in cases with concave polygons, where a single line segment passes through the polygon multiple times. Interestingly, in this case the correct number of segments are output, but many of them overlap.
I had the same error like your second problem. In my observation it is works in given cases, depends on the direction of lines and the "clockwiseness" of the polygon. I rewrote the testLineAndRing function within the turf module, and it is works for the wrong lines, but now it is not works with the lines which were good before. You can find my solution in the 3. issue thread.
When one consecutive pair of nodes in a LineString passes all the way through a Polygon, it is still only clipped once, instead of twice.
A similar error occurs in cases with concave polygons, where a single line segment passes through the polygon multiple times. Interestingly, in this case the correct number of segments are output, but many of them overlap.
The text was updated successfully, but these errors were encountered: