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

Swap out w8r/martinez clipper for mfogel/polygon-clipping #8309

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

bhousel
Copy link
Member

@bhousel bhousel commented Jan 21, 2021

This is a drop in replacement that performs better and yields more correct results
see also rapideditor/location-conflation#20

I tested this locally by loading up some custom vector tile layers to make sure that cross-tile polygon unioning is still working.. These vector tile layers really stress test it!

Mapbox Streets
Screen Shot 2021-01-21 at 11 22 29 AM

Mapbox Terrain
Screen Shot 2021-01-21 at 11 24 07 AM

This is a drop in replacement that performs better and yields more correct results
see also rapideditor/location-conflation#20
@bhousel
Copy link
Member Author

bhousel commented Jan 21, 2021

Before

Screen Shot 2021-01-21 at 11 43 06 AM

After

Screen Shot 2021-01-21 at 11 43 34 AM

@quincylvania quincylvania merged commit 2803cd7 into develop Jan 21, 2021
@quincylvania quincylvania added this to the 2.20.0 milestone Jan 21, 2021
@quincylvania quincylvania deleted the polygon-clipping branch January 21, 2021 19:17
@quincylvania
Copy link
Collaborator

@bhousel Thanks! Looks like a great upgrade ⬆️

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.

2 participants