Skip to content

Commit

Permalink
fixes #26 to restore fence lines; add landuse draw orders for some st…
Browse files Browse the repository at this point in the history
…yles
  • Loading branch information
nvkelso committed May 22, 2017
1 parent c3899a7 commit 7d905d4
Showing 1 changed file with 31 additions and 25 deletions.
56 changes: 31 additions & 25 deletions cinnabar-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3716,31 +3716,6 @@ layers:
transform: uppercase
stroke: { color: global.earth1, width: 3px }

city_walls:
filter: { kind: city_wall }
draw:
lines:
color: global.city_wall
width: [[12, 0.75px], [13, 1.0px], [14, 1.2px], [15, 2.0px], [16, 2.5px], [19, 6m]]
retaining_wall:
filter: { kind: retaining_wall }
draw:
lines:
color: global.retaining_wall
width: [[14, 0.5px], [15, 1.0px], [16, 1.5px], [17, 2.0px], [19, 4m]]
fence:
filter: { kind: fence }
draw:
lines:
color: global.fence
width: [[16, 0px], [17, 1px], [18, 1.5px], [20, 0.5m]]
snow_fence:
filter: { kind: snow_fence }
draw:
lines:
color: global.snow_fence
width: [[14, 0.5px], [15, 1.0px], [16, 1.5px], [17, 2.0px], [19, 4m]]

places:
data: { source: mapzen, layer: places }
filter:
Expand Down Expand Up @@ -5386,6 +5361,8 @@ layers:
draw:
polygons:
order: global.feature_order
lines:
order: global.feature_order

landuse-labels:
filter:
Expand Down Expand Up @@ -5870,6 +5847,7 @@ layers:
color: global.orange2
outline:
style: lines
order: global.feature_order
color: global.green6
width: [[14,0px],[15,1px],[16,1m]]
place_of_worship:
Expand Down Expand Up @@ -5903,6 +5881,7 @@ layers:
color: global.grey11
outline:
style: lines
order: global.feature_order
color: global.grey11_o
width: [[14,0px],[15,1px],[16,0.5m]]

Expand Down Expand Up @@ -5955,6 +5934,7 @@ layers:
visible: true
outline:
style: lines
order: global.feature_order
color: global.grey12_o
width: [[14,0px],[15,1px],[16,0.5m]]
minor-zoo-landuse:
Expand All @@ -5970,6 +5950,7 @@ layers:
visible: true
outline:
style: lines
order: global.feature_order
color: global.green11_o
width: [[14,0px],[15,1px],[16,0.5m]]

Expand All @@ -5983,6 +5964,31 @@ layers:
order: global.feature_order
color: [[0, global.earth2_e],[6, global.earth2_e2],[8, global.earth2_e3]]

city_walls:
filter: { kind: city_wall }
draw:
lines:
color: global.city_wall
width: [[12, 0.75px], [13, 1.0px], [14, 1.2px], [15, 2.0px], [16, 2.5px], [19, 6m]]
retaining_wall:
filter: { kind: retaining_wall }
draw:
lines:
color: global.retaining_wall
width: [[14, 0.5px], [15, 1.0px], [16, 1.5px], [17, 2.0px], [19, 4m]]
fence:
filter: { kind: fence }
draw:
lines:
color: global.fence
width: [[16, 0px], [17, 1px], [18, 1.5px], [20, 0.5m]]
snow_fence:
filter: { kind: snow_fence }
draw:
lines:
color: global.snow_fence
width: [[14, 0.5px], [15, 1.0px], [16, 1.5px], [17, 2.0px], [19, 4m]]

# transit-bus-roads:
# data: { source: mapzen, layer: roads }
# filter:
Expand Down

0 comments on commit 7d905d4

Please sign in to comment.