wiki:Presets/LaneAttributes

Version 1 (modified by skyper, 9 years ago) (diff)

initial commit

Lane Attributes preset

This presets helps to tag highway lane attributes according to OSM wiki lanes.

Please have a look at the appropriate style Lane and Road Attributes for more infos about the subject and a nice style.

<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
  author="skyper"
  version="0.53_2021-10-02"
  shortdescription="Lane attributes"
  de.shortdescription="Fahrspurattribute"
  description="A preset for tagging (turn-) lanes"
  de.description="Ein Vorlage für (Abbiege-) Fahrspur Attribute">

  <group name="Lanes" de.name="Fahrspuren" icon="">
    <item name="Lanes (oneway)" de.name="Fahrspuren (Einbahnstraße)" icon="" type="way">
      <link href="https://wiki.openstreetmap.org/wiki/Lanes"
            de.href="https://wiki.openstreetmap.org/wiki/DE:Lanes"
            fr.href="https://wiki.openstreetmap.org/wiki/FR:Lanes"
            pl.href="https://wiki.openstreetmap.org/wiki/Pl:Lanes"
            ro.href="https://wiki.openstreetmap.org/wiki/Ro:Lanes"
            ru.href="https://wiki.openstreetmap.org/wiki/RU:Lanes" />
      <label text="Edit lane attributes of a oneway highway" />
      <check key="oneway" text="Oneway" default="on" />
      <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="2" />
      <combo key="turn:lanes" text="Turn lanes" values="left;reverse|through|right,left|through,right,none|right,merge_to_right|through,through|through|merge_to_left" />
      <combo key="change:lanes" text="Change lanes" values="yes|not_right|no,yes|not_left,not_left|yes,no|no" />
      <combo key="placement" text="Placement" values="left_of:1,left_of:2,middle_of:1,middle_of:2,right_of:1,right_of:2,transition" />
      <space/>
      <label text="Special lanes:" />
      <space/>
      <text key="width" text="Width in meter (m)" />
      <text key="width:lanes" text="Lane width in meter (m)" />
      <combo key="bicycle:lanes" text="Bicycles lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="bus:lanes" text="Bus lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="hgv:lanes" text="Heavy good vehicle lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="psv:lanes" text="Public transport lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="hov:lanes" text="High-occupancy lanes" values="designated|yes|yes|yes|yes,designated|yes|yes|designated,yes|yes|designated" />
      <combo key="hov:minimum" text="High-occupancy minimum" values="2,3,4" length="1" />
    </item>
    <item name="Lanes (dualway)" de.name="Fahrspuren (zwei Fahrtrichtungen)" icon="" type="way">
      <link href="https://wiki.openstreetmap.org/wiki/Lanes"
            de.href="https://wiki.openstreetmap.org/wiki/DE:Lanes"
            fr.href="https://wiki.openstreetmap.org/wiki/FR:Lanes"
            pl.href="https://wiki.openstreetmap.org/wiki/Pl:Lanes"
            ro.href="https://wiki.openstreetmap.org/wiki/Ro:Lanes"
            ru.href="https://wiki.openstreetmap.org/wiki/RU:Lanes" />
      <label text="Edit lane attributes of a dualway highway" />
      <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="2" />
      <combo key="lanes:forward" text="Lanes forward" values="1,2,3,4,5" length="2" />
      <combo key="lanes:backward" text="Lanes backward" values="1,2,3,4,5" length="2" />
      <combo key="turn:lanes:forward" text="Turn lanes forward" values="left;reverse|through|right,left|through,right,none|right,merge_to_right|through,through|through|merge_to_left" />
      <combo key="turn:lanes:backward" text="Turn lanes backward" values="left;reverse|through|right,left|through,right,none|right,merge_to_right|through,through|through|merge_to_left" />
      <combo key="change:lanes:forward" text="Change lanes forward" values="yes|not_right|no,yes|not_left,not_left|yes,no|no" />
      <combo key="change:lanes:backward" text="Change lanes backward" values="yes|not_right|no,yes|not_left,not_left|yes,no|no" />
      <combo key="placement:forward" text="Placement forward" values="left_of:1,left_of:2,middle_of:1,middle_of:2,right_of:1,right_of:2,transition" />
      <text key="width" text="Width in meter (m)" />
      <text key="width:lanes:forward" text="Lane width forward in meter (m)" />
      <text key="width:lanes:backward" text="Lane width backward in meter (m)" />
      <space/>
      <label text="Special vehicle lanes:" />
      <space/>
      <combo key="bicycle:lanes:forward" text="Bicycles lanes forward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="bicycle:lanes:backward" text="Bicycles lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="bus:lanes:forward" text="Bus forward lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="bus:lanes:backward" text="Bus backward lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="psv:lanes:forward" text="Public transport forward lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="psv:lanes:backward" text="Public transport backward lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="hgv:lanes:forward" text="Heavy good vehicle forward lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="hgv:lanes:backward" text="Heavy good vehicle backward lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="hov:lanes:forward" text="High-occupancy forward lanes" values="designated|yes|yes|yes|yes,designated|yes|yes|designated,yes|yes|designated" />
      <combo key="hov:lanes:backward" text="High-occupancy backward lanes" values="designated|yes|yes|yes|yes,designated|yes|yes|designated,yes|yes|designated" />
      <combo key="hov:minimum" text="High-occupancy minimum" values="2,3,4" length="1" />
    </item>
  </group>
</presets>

Presets_LaneAttributes-preset.xml, Presets_LaneAttributes.zip