-
Notifications
You must be signed in to change notification settings - Fork 4
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
Ll/polygon intersects #53
Conversation
…/polygon_intersects
Sg/update intersects
Amazing. Is this ready for code review? |
Yep! Go for it! I have already reviewed it offline 😄 this is my intern @LanaLubecke ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, a few comments on style and performance.
Also wondering if this handles degeneracies? Like intersections exactly at vertices?
…tryOps.jl into ll/polygon_intersects
Co-authored-by: Rafael Schouten <[email protected]>
It doesn't handle degeneracies. But neither does LibGEOS (JuliaGeo/LibGEOS.jl#166) . There is an extension of the algorithm that we used that does and we are considering implementing the additional parts soon. |
Just ran this on some pretty ugly polygons that @LanaLubecke designed that each have two overlapping holes. |
Wild. We are so easily getting that order of magnitude faster. |
…tryOps.jl into ll/polygon_intersects
I think we are good to go @rafaqz. Can you take one more look over it? Once it is merged, @LanaLubecke and I are going to have conversations about her next steps. That includes further profiling as well as implementing the degenerate cases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Degeneracy problems are fine for now if GEOS has them too 😂
We could also add a Martinez-Rueda alg at some stage to handle that
https://github.com/w8r/martinez
.gitignore
Outdated
.vscode/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably revert this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We aren't okay with having that in gitignore? I added it so that my .vscode files wouldn't get added by mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No its all the lines below, sorry doesnt show in the comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah lol - that should go
This branch has the most updated polygon clipping functions!