From 1c98048f9d4f6ed943476659d756e95eae7122b6 Mon Sep 17 00:00:00 2001 From: Andy Townsend Date: Sun, 22 Sep 2024 13:53:31 +0100 Subject: [PATCH] Removed "[waterway=pipeline](https://taginfo.openstreetmap.org/tags/waterway=pipeline#overview)", largely superceded by [man_made=pipeline](https://taginfo.openstreetmap.org/tags/man_made=pipeline#overview). --- project.mml | 6 +++--- water.mss | 23 ----------------------- 2 files changed, 3 insertions(+), 26 deletions(-) diff --git a/project.mml b/project.mml index 8737b46..3e85599 100644 --- a/project.mml +++ b/project.mml @@ -221,7 +221,7 @@ ], "Datasource": { "type": "postgis", - "table": " (select way,waterway,lock,name,case when tunnel in ('yes','culvert') then 'yes' else 'no' end as int_tunnel, 'no' as bridge\n from planet_osm_line\n where waterway in ('weir','river','canal','derelict_canal','stream','drain','ditch','pipeline','intstream','intriver')\n and (bridge is null or bridge not in ('yes','aqueduct','levee'))\n order by z_order\n ) as water_lines", + "table": " (select way,waterway,lock,name,case when tunnel in ('yes','culvert') then 'yes' else 'no' end as int_tunnel, 'no' as bridge\n from planet_osm_line\n where waterway in ('weir','river','canal','derelict_canal','stream','drain','ditch','intstream','intriver')\n and (bridge is null or bridge not in ('yes','aqueduct','levee'))\n order by z_order\n ) as water_lines", "extent": "-20037508,-20037508,20037508,20037508", "key_field": "", "geometry_field": "way", @@ -873,7 +873,7 @@ ], "Datasource": { "type": "postgis", - "table": "(select way,waterway,name,case when tunnel in ('yes','culvert') then 'yes' else 'no' end as int_tunnel, 'yes' as bridge from planet_osm_line where waterway in ('river','canal','derelict_canal','stream','drain','ditch','pipeline','intstream','intriver') and bridge in ('yes','aqueduct','levee') order by z_order) as waterway_bridges", + "table": "(select way,waterway,name,case when tunnel in ('yes','culvert') then 'yes' else 'no' end as int_tunnel, 'yes' as bridge from planet_osm_line where waterway in ('river','canal','derelict_canal','stream','drain','ditch','intstream','intriver') and bridge in ('yes','aqueduct','levee') order by z_order) as waterway_bridges", "extent": "-20037508,-20037508,20037508,20037508", "key_field": "", "geometry_field": "way", @@ -1680,7 +1680,7 @@ ], "Datasource": { "type": "postgis", - "table": " (select way,waterway,lock,name,case when tunnel in ('yes','culvert') then 'yes' else 'no' end as int_tunnel\n from planet_osm_line\n where waterway in ('weir','river','canal','derelict_canal','stream','drain','ditch','pipeline','intstream','intriver')\n order by z_order\n ) as water_lines_text", + "table": " (select way,waterway,lock,name,case when tunnel in ('yes','culvert') then 'yes' else 'no' end as int_tunnel\n from planet_osm_line\n where waterway in ('weir','river','canal','derelict_canal','stream','drain','ditch','intstream','intriver')\n order by z_order\n ) as water_lines_text", "extent": "-20037508,-20037508,20037508,20037508", "key_field": "", "geometry_field": "way", diff --git a/water.mss b/water.mss index 2b1fb38..5e10bf6 100644 --- a/water.mss +++ b/water.mss @@ -504,19 +504,6 @@ line-dasharray: 32,64; } } - - [waterway = 'pipeline'][zoom >= 15] { - line-color: #9900cc; - line-width: 0.3; - [bridge = 'yes'] { - bridgecasing/line-color: black; - bridgecasing/line-join: round; - bridgecasing/line-width: 3; - bridgeglow/line-color: white; - bridgeglow/line-join: round; - bridgeglow/line-width: 2; - } - } } #water-lines-text { @@ -601,16 +588,6 @@ [zoom >= 20] { text-size: 18; } } - [waterway = 'pipeline'][zoom >= 15] { - text-name: "[name]"; - text-size: 10; - text-fill: #9900cc; - text-face-name: @oblique-fonts; - text-placement: line; - text-spacing: 600; - text-halo-radius: 1; - } - [waterway = 'weir'][zoom >= 15] { text-name: "[name]"; text-size: 10;