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

Additional access marking #5049

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

Conversation

dch0ph
Copy link
Contributor

@dch0ph dch0ph commented Dec 30, 2024

Fixes #5024
Fixes #4998

Changes proposed in this pull request:

  • Render "restricted" access (e.g. access=destination) on highway=motorway/trunk/primary (currently only access=no shown)
  • Add access rendering for highway=pedestrian using white as contrasting colour.

Note that a tweak to functions.sql is needed to allow highway=pedestrian to support "restricted" access marking.

Test rendering:

"restricted" access on major highways is not expected to be valid tagging. The purpose of the PR is to highlight potentially incorrect tagging.

Illustrations are taken from a hacked legend rendering, with access=destination on all highways.

image

image

Note that the increased "coverage" of access tags needs to be weighed against a 7% increase in lines of XML. This is a result of all the added combinations of road types / 3 SQL queries / 3 access types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant