Skip to content

Commit

Permalink
Show locked linear gates as gates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Townsend committed Nov 22, 2024
1 parent e0a3fd2 commit efb49f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,8 @@
[man_made = 'embankment'][zoom >= 17],
[man_made = 'levee'][zoom >= 14],
[barrier = 'wall'][zoom >= 17],
[barrier = 'gate'][zoom >= 17] {
[barrier = 'gate'][zoom >= 17],
[barrier = 'gate_locked'][zoom >= 17] {
text-name: "[name]";
text-dy: 9;
text-face-name: @oblique-fonts;
Expand Down Expand Up @@ -815,6 +816,7 @@
}
}

[barrier = 'gate_locked'],
[barrier = 'gate'] {
[zoom >= 14]
{
Expand Down
2 changes: 1 addition & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
],
"Datasource": {
"type": "postgis",
"table": "(select way,\"natural\",man_made,barrier,name from planet_osm_line where \"natural\" = 'cliff' or \"natural\" = 'valley' or man_made = 'embankment' or man_made = 'levee' or barrier = 'wall' or barrier = 'gate') as lineartext",
"table": "(select way,\"natural\",man_made,barrier,name from planet_osm_line where \"natural\" = 'cliff' or \"natural\" = 'valley' or man_made = 'embankment' or man_made = 'levee' or barrier = 'wall' or barrier = 'gate' or barrier = 'gate_locked') as lineartext",
"extent": "-20037508,-19929239,20037508,19929239",
"key_field": "",
"geometry_field": "way",
Expand Down

0 comments on commit efb49f9

Please sign in to comment.