Skip to content

Commit

Permalink
Treat highway=busway as no-access by default
Browse files Browse the repository at this point in the history
`highway=busway` is documented as having `access=no` and
`bus=designated` by default in the abscense of any overriding
access-tags.

In the main road query `access` is set to `no` when the road is a
busway, and access is either unset or contains `no` or `private`.
  • Loading branch information
jdhoek committed Sep 19, 2021
1 parent 1b60743 commit e513ba9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project.mml
Expand Up @@ -726,6 +726,8 @@ Layer:
END AS int_surface,
CASE WHEN access IN ('destination') THEN 'destination'::text
WHEN access IN ('no', 'private') THEN 'no'::text
-- highway=busway is access=no/bus=designated by default.
WHEN highway IN ('busway') AND access IS NULL THEN 'no'::text
END AS access,
construction,
CASE
Expand Down

0 comments on commit e513ba9

Please sign in to comment.