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
When a MultiLineString feature has branches (e.g. a river with tributaries, or a street with side streets), kinks module returns self-intersection at the branching point.
For this geojson feature: {"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"MultiLineString","coordinates":[[[0,0],[0,1],[0,2]],[[0,1],[1,1]]]}}]}
kinks would return a self-intersection at 0,1 coordinates, which is false.
The text was updated successfully, but these errors were encountered:
this module actually uses its own line-intersect algorithm
this module, per its description in jsdoc, is intended to report only self intersections
i am not sure that this qualifies as a bug per the documentation within turf but i could be missing some context for what would be expected of a module by this name. this case seems to be behaving as expected just by appearance
turf 7.1.0
When a MultiLineString feature has branches (e.g. a river with tributaries, or a street with side streets), kinks module returns self-intersection at the branching point.
For this geojson feature:
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"MultiLineString","coordinates":[[[0,0],[0,1],[0,2]],[[0,1],[1,1]]]}}]}
kinks would return a self-intersection at 0,1 coordinates, which is false.
The text was updated successfully, but these errors were encountered: