Skip to content

@turf/difference: "Unable to find segment" #2306

@pomm0

Description

@pomm0

When getting the difference of two specific polygons I'm getting this error:

Uncaught Error: Unable to find segment #15 [10.299187924375136, 48.46036112600978] -> [10.299193387184792, 48.460364759343314] in SweepLine tree. Please submit a bug report.

So, as the error message says, here is the bug report for it. Find this JSFiddle and the polygons inside to reproduce this issue.

Using:
@turf/difference: 6.5.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions