Skip to content

Commit

Permalink
remove line barrier catch-all rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulon42 committed Nov 29, 2015
1 parent 7b8998c commit a31a471
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"Datasource": {
"extent": "-20037508,-20037508,20037508,20037508",
"table": "(SELECT\n way, barrier\n FROM planet_osm_line\n WHERE barrier IS NOT NULL\n) AS line_barriers",
"table": "(SELECT\n way, barrier\n FROM planet_osm_line\n WHERE barrier IN ('chain', 'city_wall', 'embankment', 'ditch', 'fence', 'guard_rail',\n 'handrail', 'hedge', 'kerb', 'retaining_wall', 'wall')\n AND waterway NOT IN ('river', 'canal', 'derelict_canal', 'stream', 'drain', 'ditch', 'wadi')\n) AS line_barriers",
"geometry_field": "way",
"type": "postgis",
"key_field": "",
Expand All @@ -679,7 +679,7 @@
85.05112877980659
],
"properties": {
"minzoom": 16
"minzoom": 14
},
"advanced": {}
},
Expand Down
6 changes: 4 additions & 2 deletions project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -665,10 +665,12 @@ Layer:
(SELECT
way, barrier
FROM planet_osm_line
WHERE barrier IS NOT NULL
WHERE barrier IN ('chain', 'city_wall', 'embankment', 'ditch', 'fence', 'guard_rail',
'handrail', 'hedge', 'kerb', 'retaining_wall', 'wall')
AND waterway NOT IN ('river', 'canal', 'derelict_canal', 'stream', 'drain', 'ditch', 'wadi')
) AS line_barriers
properties:
minzoom: 16
minzoom: 14
advanced: {}
- id: "cliffs"
name: "cliffs"
Expand Down

0 comments on commit a31a471

Please sign in to comment.