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

Polygon not filled completely #174

Open
anjansapkota opened this issue Aug 22, 2024 · 0 comments
Open

Polygon not filled completely #174

anjansapkota opened this issue Aug 22, 2024 · 0 comments

Comments

@anjansapkota
Copy link

Hello guys,
I've been working on a geology project lately. And I'm using earcut in my project to fill up the polygons. It works most of the time just fine but there are about 5 in 2000 polygons that are not being treated properly by earcut. I'm letting you guys know about this issue, and also, if there's a solution to it, please let me know. I'm using it in Node.js.

I've attached the geojson along with this post. I've also attached images of how it looks right now and how it should look.
Thanks for all that you guys have done!

Polygons.json
image_30
image_31

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

No branches or pull requests

1 participant