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

Filter out invisible nodes and ways during initial selection #5589

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomhughes
Copy link
Member

This takes #5585 a bit further and drops the separate visibility filtering in favour of ensuring that we always filter for that as part of the initial database query.

Technically this creates a slight change in behaviour in that previous nodes which were visible but outside the bounding box would be returned if they were part of an invisible way that had nodes inside the bounding box but that seems like it was more of a bug than a feature.

@AntonKhorev
Copy link
Collaborator

Looks like cgimap only checks visibility when selecting nodes in bbox. It's easier not to check it after that because you can get ids from connector tables (current_way_nodes etc) that don't store visibility.

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