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

Fix transition issue between z11-z12-z13 #302

Merged
merged 5 commits into from
Feb 9, 2020
Merged
Show file tree
Hide file tree
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.mml
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ Layer:
FROM planet_osm_line
WHERE (route='bicycle' OR route='mtb')
AND tags->'network' IN ('icn', 'ncn', 'rcn')
AND NOT (tags->'network' = 'rcn' AND tags->'network:type' = 'node_network')
AND (NOT ((tags->'network') IS NOT NULL AND (tags->'network:type') IS NOT NULL AND (tags->'network' = 'rcn') AND tags->'network:type' = 'node_network'))
AND way && !bbox!
ORDER BY CASE
WHEN tags->'network' = 'icn' THEN 0
Expand Down Expand Up @@ -1347,7 +1347,7 @@ Layer:
FROM planet_osm_line
WHERE (route = 'bicycle' OR route = 'mtb')
AND ref IS NOT NULL
AND NOT (tags->'network' = 'rcn' AND tags->'network:type' = 'node_network')
AND (NOT ((tags->'network') IS NOT NULL AND (tags->'network:type') IS NOT NULL AND (tags->'network' = 'rcn') AND tags->'network:type' = 'node_network'))
) AS data
geometry: linestring
properties:
Expand Down
4 changes: 2 additions & 2 deletions roads.mss
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ come in as well.
[type='living_street'] { line-width: @rdz12_living_street + (2 * @rdz12_living_street_outline); }
[type='road'] { line-width: @rdz12_road + (2 * @rdz12_road_outline); }
[type='unclassified'] { line-width: @rdz12_unclassified + (2 * @rdz12_unclassified_outline); }
[type='residential'] { line-width: @rdz11_residential + (2 * @rdz11_residential_outline); }
[type='residential'] { line-width: @rdz12_residential + (2 * @rdz12_residential_outline); }
[type='tertiary_link'] { line-width: @rdz12_tertiary_link + (2 * @rdz12_tertiary_link_outline); }
[type='secondary_link'] { line-width: @rdz12_secondary_link + (2 * @rdz12_secondary_link_outline); }
[type='primary_link'] { line-width: @rdz12_primary_link + (2 * @rdz12_primary_link_outline); }
Expand Down Expand Up @@ -632,7 +632,7 @@ come in as well.
line-color: @bridge_case;
}
}

[zoom>=17] {
[type='bridleway'] { line-color: @land; line-width: @rdz17_bridleway + (2 * @rdz17_line_bridge_outline); }
[type='footway'] { line-color: @land; line-width: @rdz17_footway + (2 * @rdz17_line_bridge_outline); }
Expand Down