From 411bddac7e04c15bc8b0356129e5b7e5070cedc9 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sat, 29 Jul 2017 21:32:02 -0400 Subject: [PATCH] Render railway platform slightly different from sidewalk (closes #4182) --- css/40_railways.css | 6 +++++- data/presets/presets.json | 10 +++++++--- data/presets/presets/highway/footway.json | 3 ++- data/presets/presets/railway/platform.json | 10 +++++++--- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/css/40_railways.css b/css/40_railways.css index 2e3575669..b43311555 100644 --- a/css/40_railways.css +++ b/css/40_railways.css @@ -86,11 +86,15 @@ path.stroke.tag-railway-subway { /* railway platforms - like sidewalks */ +.preset-icon .icon.highway-footway.tag-railway-platform { + color: #ae8681; + fill: #dcd9b9; +} path.shadow.tag-railway-platform { stroke-width: 16; } path.casing.tag-railway-platform { - stroke: #fff; + stroke: #dcd9b9; stroke-width: 5; stroke-linecap: round; stroke-dasharray: none; diff --git a/data/presets/presets.json b/data/presets/presets.json index f88acaacd..fc9b7397c 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -10408,10 +10408,14 @@ "name": "Narrow Gauge Rail" }, "railway/platform": { - "icon": "rail", + "icon": "highway-footway", + "fields": [ + "ref_platform", + "surface", + "lit", + "shelter" + ], "geometry": [ - "point", - "vertex", "line", "area" ], diff --git a/data/presets/presets/highway/footway.json b/data/presets/presets/highway/footway.json index 9883a4560..180f0fcc6 100644 --- a/data/presets/presets/highway/footway.json +++ b/data/presets/presets/highway/footway.json @@ -8,7 +8,8 @@ "access" ], "geometry": [ - "line", "area" + "line", + "area" ], "terms": [ "hike", diff --git a/data/presets/presets/railway/platform.json b/data/presets/presets/railway/platform.json index 5063a282d..de6b46d1a 100644 --- a/data/presets/presets/railway/platform.json +++ b/data/presets/presets/railway/platform.json @@ -1,8 +1,12 @@ { - "icon": "rail", + "icon": "highway-footway", + "fields": [ + "ref_platform", + "surface", + "lit", + "shelter" + ], "geometry": [ - "point", - "vertex", "line", "area" ],