From 9fff1f74e0c110f5dd8a4ae9ccc7ae4282f62c1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 16 Oct 2022 08:24:57 +0200
Subject: [PATCH] footway: include sidewalk=* in map info

---
 footways.yaml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/footways.yaml b/footways.yaml
index caf73e8..33ee293 100644
--- a/footways.yaml
+++ b/footways.yaml
@@ -272,6 +272,27 @@ info: |
     }) }}</td>
     <td>highway=cycleway segregated=yes</td>
   </tr>
+  {% for k, d in const.sidewalks %}
+  <tr>
+    <td>{{ markerLine({
+      styles: d.styles,
+      'style:leftr': {
+        width: 7,
+        offset: -2.5,
+        opacity: 0.3,
+        dashArray: '1,10',
+        lineCap: butt,
+        color: d.color
+      },
+      'style:left': {
+        width: 3,
+        offset: -7,
+        color: d.color
+      }
+    }) }}</td>
+    <td>{{ tagTrans('sidewalk', k) }}</td>
+  </tr>
+  {% endfor %}
   </table>
 const:
   categories:
@@ -295,3 +316,13 @@ const:
     platform:
       key: railway
       color: '#00ff00'
+  sidewalks:
+    yes:
+      color: '#ff007f'
+      styles: 'leftr,left'
+    separate:
+      color: '#ff007f'
+      styles: 'leftr'
+    no:
+      color: '#000000'
+      styles: 'leftr,left'