Skip to content

Commit

Permalink
toll booth symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
sommerluk committed Jan 6, 2018
1 parent fdb6d10 commit 3de0947
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,13 @@
}
}

[feature = 'barrier_toll_booth'][zoom >= 16] {
marker-file: url('symbols/toll_booth.svg');
marker-placement: interior;
marker-clip: false;
marker-fill: @transportation-icon;
}

[feature = 'railway_level_crossing'][zoom >= 14]::railway,
[feature = 'railway_crossing'][zoom >= 15]::railway{
point-file: url('symbols/level_crossing.svg');
Expand Down
4 changes: 2 additions & 2 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ Layer:
'amenity_' || CASE WHEN amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'bench', 'waste_basket') THEN amenity ELSE NULL END,
'historic_' || CASE WHEN historic IN ('wayside_cross') THEN historic ELSE NULL END,
'man_made_' || CASE WHEN man_made IN ('cross') THEN man_made ELSE NULL END,
'barrier_' || CASE WHEN barrier IN ('bollard', 'gate', 'lift_gate', 'swing_gate', 'block') THEN barrier ELSE NULL END
'barrier_' || CASE WHEN barrier IN ('bollard', 'gate', 'lift_gate', 'swing_gate', 'block', 'toll_booth') THEN barrier ELSE NULL END
) AS feature,
access,
CASE WHEN amenity='waste_basket' THEN 2 ELSE 1 END AS prio
Expand All @@ -2291,7 +2291,7 @@ Layer:
OR amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'bench', 'waste_basket')
OR historic IN ('wayside_cross')
OR man_made IN ('cross')
OR barrier IN ('bollard', 'gate', 'lift_gate', 'swing_gate', 'block')
OR barrier IN ('bollard', 'gate', 'lift_gate', 'swing_gate', 'block', 'toll_booth')
ORDER BY prio
) AS amenity_low_priority
properties:
Expand Down

0 comments on commit 3de0947

Please sign in to comment.