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

Add support for highway=busway #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ Layer:
CASE
WHEN type IN ('motorway', 'trunk', 'trunk_link') THEN 'motorway'
WHEN type ~ E'\\w+_link$' THEN regexp_replace(type, '_link', '')
WHEN type IN ('unclassified', 'road', 'service') THEN 'standard'
WHEN type IN ('unclassified', 'road', 'service', 'busway') THEN 'standard'
WHEN type IN ('residential', 'living_street') THEN 'urban'
WHEN type IN ('path', 'cycleway', 'footway', 'pedestrian', 'steps', 'bridleway') THEN 'noauto'
ELSE type
Expand Down Expand Up @@ -610,7 +610,7 @@ Layer:
( SELECT way, highway AS type, name, CASE WHEN oneway IN ('yes', '-1')
THEN oneway ELSE 'no' END AS oneway FROM planet_osm_line WHERE (name IS
NOT NULL OR oneway IN ('yes', '-1')) AND highway IN ('residential',
'unclassified', 'road', 'living_street', 'unknown')
'unclassified', 'road', 'living_street', 'busway', 'unknown')

) AS data
advanced:
Expand Down