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

Treat use_sidepath as no #415

Merged
merged 1 commit into from
Aug 4, 2020
Merged
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
8 changes: 4 additions & 4 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ Layer:
ELSE NULL
END AS cycleway_right_oneway,
CASE
WHEN bicycle IN ('no', 'private') THEN 'no'
WHEN bicycle IN ('no', 'private', 'use_sidepath') THEN 'no'
WHEN bicycle IS NOT NULL THEN bicycle
WHEN tags->'motorroad' IN ('yes') THEN 'no'
WHEN highway IN ('motorway', 'motorway_link') THEN 'no'
Expand Down Expand Up @@ -682,7 +682,7 @@ Layer:
ELSE NULL
END AS cycleway_right_oneway,
CASE
WHEN bicycle IN ('no', 'private') THEN 'no'
WHEN bicycle IN ('no', 'private', 'use_sidepath') THEN 'no'
WHEN bicycle IS NOT NULL THEN bicycle
WHEN tags->'motorroad' IN ('yes') THEN 'no'
WHEN highway IN ('motorway', 'motorway_link') THEN 'no'
Expand Down Expand Up @@ -765,7 +765,7 @@ Layer:
END
) AS type,
CASE
WHEN bicycle IN ('no', 'private') THEN 'no'
WHEN bicycle IN ('no', 'private', 'use_sidepath') THEN 'no'
WHEN bicycle IS NOT NULL THEN bicycle
WHEN tags->'motorroad' IN ('yes') THEN 'no'
WHEN highway NOT IN ('motorway', 'motorway_link') AND tags->'vehicle' IN ('no', 'private') THEN 'no'
Expand Down Expand Up @@ -939,7 +939,7 @@ Layer:
ELSE NULL
END AS cycleway_right_oneway,
CASE
WHEN bicycle IN ('no', 'private') THEN 'no'
WHEN bicycle IN ('no', 'private', 'use_sidepath') THEN 'no'
WHEN bicycle IS NOT NULL THEN bicycle
WHEN tags->'motorroad' IN ('yes') THEN 'no'
WHEN highway IN ('motorway', 'motorway_link') THEN 'no'
Expand Down