Browse Source

cycleway_types: improve info

cycleway
parent
commit
cd41134110
  1. 27
      cycleway_types.yaml

27
cycleway_types.yaml

@ -423,6 +423,7 @@ info: |
<th></th> <th></th>
</tr> </tr>
{% for k, v in const.types %} {% for k, v in const.types %}
{% if not v.hideInfo %}
<tr> <tr>
<td> <td>
{{ markerLine({ width: 4, color: v.color }) }} {{ markerLine({ width: 4, color: v.color }) }}
@ -431,7 +432,28 @@ info: |
{{ k }} {{ k }}
</td> </td>
</tr> </tr>
{% endif %}
{% endfor %} {% endfor %}
{% for k, v in const.otherInfrastructure %}
<tr>
<td>
{{ markerLine(evaluate({ highway: 'cycleway', cycleway: k })) }}
</td>
<td>
{{ k }}
</td>
</tr>
{% endfor %}
<tr>
<td>
{{ markerLine({ width: 4, color: '#ff0000' }) }}
</td>
<td>
Deprecated or invalid tag!
</td>
</tr>
</table> </table>
const: const:
types: types:
@ -454,6 +476,7 @@ const:
shared: shared:
color: '#ff0000' color: '#ff0000'
warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway=lane, cycleway:oneway=-1 instead.' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway=lane, cycleway:oneway=-1 instead.'
hideInfo: true
shared_lane: shared_lane:
color: '#003faf' color: '#003faf'
share_busway: share_busway:
@ -461,15 +484,19 @@ const:
opposite: opposite:
color: '#ff0000' color: '#ff0000'
warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=lane, cycleway:%other_driving_side%:oneway=-1 instead.' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=lane, cycleway:%other_driving_side%:oneway=-1 instead.'
hideInfo: true
opposite_lane: opposite_lane:
color: '#ff0000' color: '#ff0000'
warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=lane, cycleway:%other_driving_side%:oneway=-1 instead.' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=lane, cycleway:%other_driving_side%:oneway=-1 instead.'
hideInfo: true
opposite_share_busway: opposite_share_busway:
color: '#ff0000' color: '#ff0000'
warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=share_busway, cycleway:%other_driving_side%:oneway=-1 instead.' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=share_busway, cycleway:%other_driving_side%:oneway=-1 instead.'
hideInfo: true
opposite_track: opposite_track:
color: '#ff0000' color: '#ff0000'
warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=track, cycleway:%other_driving_side%:oneway=-1 instead.' warning: 'Deprecated tag! Use oneway:bicycle=no and cycleway:%other_driving_side%=track, cycleway:%other_driving_side%:oneway=-1 instead.'
hideInfo: true
otherInfrastructure: otherInfrastructure:
crossing: crossing:
extraWidth: 4 extraWidth: 4

Loading…
Cancel
Save