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

Fixes bug in relation area processing #17

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

Conversation

rubillionaire
Copy link

closed variable once set to true is not reset to false for subsequent member processing, so all following members are considered to be self closing, leading to render bugs. the fix is to reset the closed variable along with the other variables that track progress through the multipolygon.

…oduce more than one closed polygon, because the 'closed' variable was not getting reset once one was found, so every subsequent member was being processed as if it close immediately. added a test with sample data that produces the correct result.
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