We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting the following exception and I'm not sure why. The input looks good to me.
Error: Unable to complete output ring starting at [0, 56]. Last matching segment found ends at [0.7000000000000001, 55.6].
Here's what I am passing as input, it is 100% reproducible for me:
const polygon = [[ [[0,56],[4,56],[4,60],[0,60],[0,56]], [[0.5,56.4],[0.5,56.6],[1.5,56.6],[1.5,56.4],[0.5,56.4]] ]]; const clip = [[ [2.3000000000000003,55.6], [0.7000000000000001,55.6], [0.6999999999999998,56.4], [2.3,56.4], [2.3000000000000003,55.6] ]]; return difference(polygon, clip);
Works fine with other inputs, just this particular set of polys causes the problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm getting the following exception and I'm not sure why. The input looks good to me.
Here's what I am passing as input, it is 100% reproducible for me:
Works fine with other inputs, just this particular set of polys causes the problem.
The text was updated successfully, but these errors were encountered: