wiki:Presets/LaneAttributes

Version 2 (modified by skyper, 11 years ago) ( diff )

small adds and fixes

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="54_2023-01-21"
  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,sharp_left|slight_left|through|slight_right|sharp_right" />
      <combo key="change:lanes" text="Change lanes" values="yes|not_right|no,yes|not_left,not_left|yes,no|no" />
      <text key="destination:lanes" text="Lane destinations" />
      <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" />
      <text key="width" text="Width in meter (m)" />
      <text key="width:lanes" text="Lane width in meter (m)" />
      <space/>
      <label text="Special lanes:" />
      <space/>
      <combo key="bicycle:lanes" text="Bicycles lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="bus:lanes" text="Bus lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="hgv:lanes" text="Heavy good vehicle lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="psv:lanes" text="Public transport lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="taxi:lanes" text="Taxi lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|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,sharp_left|slight_left|through|slight_right|sharp_right" />
      <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,sharp_left|slight_left|through|slight_right|sharp_right" />
      <combo key="change:lanes:forward" text="Change lanes forward" values="yes|not_right|no,yes|not_left,not_left|yes,no|no,only_right|only_left" />
      <combo key="change:lanes:backward" text="Change lanes backward" values="yes|not_right|no,yes|not_left,not_left|yes,no|no" />
      <text key="destination:lanes:forward" text="Lane destinations forward" />
      <text key="destination:lanes:backward" text="Lane destinations backward" />
      <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,no|yes" />
      <combo key="bicycle:lanes:backward" text="Bicycles lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="bus:lanes:forward" text="Bus lanes forward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="bus:lanes:backward" text="Bus lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="hgv:lanes:forward" text="Heavy good vehicle lanes forward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" />
      <combo key="hgv:lanes:backward" text="Heavy good vehicle lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="psv:lanes:forward" text="Public transport lanes forward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="psv:lanes:backward" text="Public transport lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="taxi:lanes:forward" text="Taxi lanes forward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="taxi:lanes:backward" text="Taxi lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" />
      <combo key="hov:lanes:forward" text="High-occupancy lanes forward" values="designated|yes|yes|yes|yes,designated|yes|yes|designated,yes|yes|designated" />
      <combo key="hov:lanes:backward" text="High-occupancy lanes backward" 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

Note: See TracWiki for help on using the wiki.