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

Fix angle calculation at 180 degrees #1706

Merged
merged 3 commits into from
Nov 16, 2018

Conversation

zerebubuth
Copy link
Member

The angle calculation is used to tell whether two roads are suitable for merging, and at this point we don't care about directionality (i.e: whether a horizontal road is heading left or right - it's horizontal is all we care about).

Also, don't merge across junctions at zoom 15 - we still care about onewayness until zoom < 15.

The angle calculation is used to tell whether two roads are suitable for merging, and at this point we don't care about directionality (i.e: whether a horizontal road is heading left or right - it's horizontal is all we care about).
@zerebubuth zerebubuth merged commit 8f7e9cd into master Nov 16, 2018
@zerebubuth zerebubuth deleted the zerebubuth/fix-angle-calculation-180 branch November 16, 2018 17:14
Copy link
Member

@rmarianski rmarianski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, I missed this earlier. LGTM 👍

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.

3 participants