Skip to content
New issue

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

Add clearArtefact option #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jcarbou
Copy link

@jcarbou jcarbou commented Jan 5, 2019

I propose to add "removeArtefact" option to polygonclip method. The current generated clipped polygon without "clearArtifact" option - in red on the screenshot - can be a set polygons linked by lines
(the bbox edges that clip the given polygon). The "clearArtifact" remove these lines and generate a
array of polygons - in white -

clear-artefact

The artefact lines generate bug with turf union / intersection / difference (I try with polygonCpipping with the same result). They can generate false result used by "contains point" method if point is on the linked line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant