wiki:Presets/LaneAttributes

Languages:

Icon (NOZIP) 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.

Help needed

  • I need some nice icons (.svg)
  • Please feel free to
    • translate
    • update/enhance
    • write me an email

Preset code

<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
  author="skyper"
  version="0.25_2015-06-02"
  link="https://josm.openstreetmap.de/wiki/Presets/LaneAttributes"
  icon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNyAxOCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM4NSAtNTI0LjM2KSI+PHBhdGggZmlsbD0iIzIwMmQyMCIgZD0ibSAzODUgNTI0LjM2IGggMTcgdiAxOCBoIC0xNyB6Ii8+PGcgZmlsbD0ibm9uZSI+PGcgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgc3Ryb2tlLXdpZHRoPSIxLjgiPjxwYXRoIGQ9Im0gMzg3LjUgNTI1LjI2IHYgMTYuMiIgc3Ryb2tlPSIjZTRlN2U0Ii8+PHBhdGggZD0ibSAzOTkuNSA1MjUuMjYgdiAxNi4yIiBzdHJva2U9IiNlNWU3ZTUiLz48L2c+PHBhdGggZD0ibSAzOTMuNSA1MjYuMzYgdiA0IiBzdHJva2U9IiNlNWU3ZTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjciLz48L2c+PHBhdGggZD0ibSAzOTMuNSA1MzUuMzYgdiA0IiBmaWxsPSIjZTRlN2U0IiBzdHJva2U9IiNlNWU3ZTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjciLz48L2c+PC9zdmc+"
  shortdescription="Lane attributes"
  de.shortdescription="Fahrspurattribute"
  description="A preset for tagging (turn-) lanes"
  de.description="Ein Vorlage für (Abbiege-) Fahrspur Attribute">

  <chunk id="surface">
    <combo key="surface" text="Surface" values="paved,unpaved,asphalt,concrete,metal,wood,paving_stones,cobblestone,gravel,pebblestone,compacted,grass_paver,grass,sand,ground,sett" />
  </chunk>

  <chunk id="LanesWiki">
      <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" />
  </chunk>

  <chunk id="OnewayLanesAccess">
    <preset_link preset_name="Access lanes (oneway)" />
  </chunk>

  <chunk id="TwowayLanesAccess">
    <preset_link preset_name="Access lanes (dualway)" />
  </chunk>

  <group name="Lanes" de.name="Fahrspuren" icon="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNyAxOCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM4NSAtNTI0LjM2KSI+PHBhdGggZmlsbD0iIzIwMmQyMCIgZD0ibSAzODUgNTI0LjM2IGggMTcgdiAxOCBoIC0xNyB6Ii8+PGcgZmlsbD0ibm9uZSI+PGcgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgc3Ryb2tlLXdpZHRoPSIxLjgiPjxwYXRoIGQ9Im0gMzg3LjUgNTI1LjI2IHYgMTYuMiIgc3Ryb2tlPSIjZTRlN2U0Ii8+PHBhdGggZD0ibSAzOTkuNSA1MjUuMjYgdiAxNi4yIiBzdHJva2U9IiNlNWU3ZTUiLz48L2c+PHBhdGggZD0ibSAzOTMuNSA1MjYuMzYgdiA0IiBzdHJva2U9IiNlNWU3ZTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjciLz48L2c+PHBhdGggZD0ibSAzOTMuNSA1MzUuMzYgdiA0IiBmaWxsPSIjZTRlN2U0IiBzdHJva2U9IiNlNWU3ZTUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjciLz48L2c+PC9zdmc+">
    <item name="Multi lanes (oneway)" de.name="Mehrere Fahrspuren (Einbahnstraße)" type="way,closedway">
      <reference ref="LanesWiki" />
      <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="reverse;left|through|right,left|through;right,none|right,reverse;left|through|through;right,merge_to_right|merge_to_left,sharp_left|slight_left|through|slight_right|sharp_right" match="key" />
      <combo key="change:lanes" text="Change lanes" values="yes|not_right|no,yes|not_left,not_left|yes,not_left|not_right,no|no" match="key" />
      <text key="destination:lanes" text="Lane destinations" match="key" />
      <text key="destination:ref:lanes" text="Lane destination refs" match="key" />
      <text key="destination:symbol:lanes" text="Lane destination symbol" match="key" />
      <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" match="key" />
      <text key="maxspeed" text="Maxspeed in kilometer (km)" />
      <text key="maxspeed:lanes" text="Maxspeed per lane in kilometer (km)" match="key" />
      <text key="width" text="Width in meter (m)" />
      <text key="width:lanes" text="Lane width in meter (m)" match="key" />
      <reference ref="surface" />
      <combo key="surface:lanes" text="Lane surface" values="asphalt|cobblestone,asphalt|asphalt|cobblestone,paved|unpaved" match="key" />
      <space/>
      <reference ref="OnewayLanesAccess" />
    </item>

    <item name="Multi lanes (dualway)" de.name="Mehrere Fahrspuren (zwei Fahrtrichtungen)" type="way,closedway">
      <reference ref="LanesWiki" />
      <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" match="key" />
      <combo key="lanes:backward" text="Lanes backward" values="1,2,3,4,5" length="2" match="key" />
      <combo key="lanes:both_ways" text="Lanes for both directions" values="1,2,3,4,5" length="2" />
      <combo key="turn:lanes:forward" text="Turn lanes forward" values="reverse;left|through|right,left|through;right,none|right,reverse;left|through|through;right,merge_to_right|merge_to_left,sharp_left|slight_left|through|slight_right|sharp_right" match="key" />
      <combo key="turn:lanes:backward" text="Turn lanes backward" values="reverse;left|through|right,left|through;right,none|right,reverse;left|through|through;right,merge_to_right|merge_to_left,sharp_left|slight_left|through|slight_right|sharp_right" match="key" />
      <combo key="turn:lanes:both_ways" text="Turn lanes both directions" values="reverse;left|through|right,left|through;right,none|right,reverse;left|through|through;right,merge_to_right|merge_to_left,sharp_left|slight_left|through|slight_right|sharp_right" match="key" />
      <combo key="change:lanes:forward" text="Change lanes forward" values="yes|not_right|no,yes|not_left,not_left|yes,not_left|not_right,no|no" match="key" />
      <combo key="change:lanes:backward" text="Change lanes backward" values="yes|not_right|no,yes|not_left,not_left|yes,not_left|not_right,no|no" match="key" />
      <text key="destination:lanes:forward" text="Lane destinations forward" match="key" />
      <text key="destination:lanes:backward" text="Lane destinations backward" match="key" />
      <text key="destination:ref:lanes:forward" text="Lane destination refs forward" match="key" />
      <text key="destination:ref:lanes:backward" text="Lane destination refs backward" match="key" />
      <text key="destination:symbol:lanes:forward" text="Lane destination symbol forward" match="key" />
      <text key="destination:symbol:lanes:backward" text="Lane destination symbol backward" match="key" />
      <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" match="key" />
      <combo key="placement:backward" text="Placement backward" values="left_of:1,left_of:2,middle_of:1,middle_of:2,right_of:1,right_of:2,transition" match="key" />
      <text key="maxspeed" text="Maxspeed in kilometer (km)" />
      <text key="maxspeed:lanes:forward" text="Maxspeed per forward lane in kilometer (km)" match="key" />
      <text key="maxspeed:lanes:backward" text="Maxspeed per backward lane in kilometer (km)" match="key" />
      <text key="width" text="Width in meter (m)" />
      <text key="width:lanes:forward" text="Lane width forward in meter (m)" match="key" />
      <text key="width:lanes:backward" text="Lane width backward in meter (m)" match="key" />
      <reference ref="surface" />
      <combo key="surface:lanes:forward" text="Lane surface forward" values="asphalt|cobblestone,asphalt|asphalt|cobblestone,paved|unpaved" match="key" />
      <combo key="surface:lanes:backward" text="Lane surface backward" values="asphalt|cobblestone,asphalt|asphalt|cobblestone,paved|unpaved" match="key" />
      <space/>
      <reference ref="TwowayLanesAccess" />
    </item>

    <item name="General attributes (oneway)" de.name="Allgemeine Attribute (Einbahnstraße)" type="way,closedway">
      <reference ref="LanesWiki" />
      <check key="oneway" text="Oneway" default="on" />
      <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="2" />
      <multiselect key="turn" text="Turn" values="reverse;sharp_left;left;slight_left;through;sharp_right;right;slight_right" match="key" />
      <text key="destination" text="Destination" match="key" />
      <text key="destination:ref" text="Destination ref" match="key" />
      <text key="destination:symbol" text="Destination symbol" match="key" />
      <text key="maxspeed" text="Maxspeed in kilometer (km)" />
      <text key="width" text="Width in meter (m)" />
      <reference ref="surface" />
    </item>

    <item name="General attributes (dualway)" de.name="Allgemeine Attribute (zwei Fahrtrichtungen)" type="way,closedway">
      <reference ref="LanesWiki" />
      <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="2" />
      <multiselect key="turn:forward" text="Turn forward" values="reverse;sharp_left;left;slight_left;through;sharp_right;right;slight_right" match="key" />
      <multiselect key="turn:backward" text="Turn backward" values="reverse;sharp_left;left;slight_left;through;sharp_right;right;slight_right" match="key" />
      <combo key="change:forward" text="Change forward" values="yes,no" match="key" />
      <combo key="change:backward" text="Change backward" values="yes,no" match="key" />
      <text key="destination:forward" text="Destinations forward" match="key" />
      <text key="destination:backward" text="Destinations backward" match="key" />
      <text key="destination:ref:forward" text="Destination refs forward" match="key" />
      <text key="destination:ref:backward" text="Destination refs backward" match="key" />
      <text key="destination:symbol:forward" text="Destination symbol forward" match="key" />
      <text key="destination:symbol:backward" text="Destination symbol backward" match="key" />
      <text key="maxspeed" text="Maxspeed in kilometer (km)" />
      <text key="maxspeed:forward" text="Maxspeed forward in kilometer (km)" match="key" />
      <text key="maxspeed:backward" text="Maxspeed backward in kilometer (km)" match="key" />
      <text key="width" text="Width in meter (m)" />
      <text key="width:forward" text="Lane width forward in meter (m)" match="key" />
      <text key="width:backward" text="Lane width backward in meter (m)" match="key" />
      <reference ref="surface" />
    </item>
    <separator/>

    <item name="Access lanes (oneway)" type="way,closedway" preset_name_label="true"> 
      <combo key="access:lanes" text="Access lanes" values="yes|no,yes|yes|no,yes|yes|yes|no,no|yes|yes|no,no|no,no|no|no" match="key" />
      <combo key="bicycle:lanes" text="Bicycles lanes" values="yes|designated,yes|yes|designated,yes|yes|yes|designated,yes|yes|designated|yes,yes|yes|designated|no,no|yes" match="key" />
      <combo key="bus:lanes" text="Bus lanes" values="yes|designated,yes|yes|designated,yes|no|designated,yes|yes|designated|yes,yes|yes|no|designated," match="key" />
      <combo key="hgv:lanes" text="Heavy good vehicle lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" match="key" />
      <combo key="psv:lanes" text="Public transport lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" match="key" />
      <combo key="taxi:lanes" text="Taxi lanes" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" match="key" />
      <combo key="hov:lanes" text="High-occupancy lanes" values="designated|yes|yes|yes|yes,designated|yes|yes|designated,yes|yes|designated" match="key" />
      <combo key="hov:minimum" text="High-occupancy minimum" values="2,3,4" length="1" />
      <combo key="railway:lanes" text="Railway lanes" values="tram|no,rail|no,tram|tram|no,no|tram|no,no|tram,no|no|tram,rail|rail|no,no|rail|no,no|rail,no|no|rail" match="key" />
      <combo key="train:lanes" text="Train access lanes" values="yes|no,yes|no|no,yes|yes|no,yes|yes|yes|no,no|yes|yes|no,no|yes,no|no,no|no|yes" match="key" />
    </item>

    <item name="Access lanes (dualway)" type="way,closedway" preset_name_label="true"> 
      <combo key="access:lanes:forward" text="Access lanes forward" values="yes|no,yes|yes|no,yes|yes|yes|no,no|yes|yes|no,no|no,no|no|no" match="key" />
      <combo key="access:lanes:backward" text="Access lanes backward" values="yes|no,yes|yes|no,no|yes|yes|no,no|no" match="key" />
      <combo key="bicycle:lanes:forward" text="Bicycles lanes forward" values="yes|designated,yes|yes|designated,yes|yes|yes|designated,yes|yes|designated|yes,yes|yes|designated|no,no|yes" match="key" />
      <combo key="bicycle:lanes:backward" text="Bicycles lanes backward" values="yes|designated,yes|yes|designated,yes|yes|yes|designated,yes|yes|designated|yes,yes|yes|designated|no,no|yes" match="key" />
      <combo key="bus:lanes:forward" text="Bus lanes forward" values="yes|designated,yes|yes|designated,yes|no|designated,yes|yes|designated|yes,yes|yes|no|designated," match="key" />
      <combo key="bus:lanes:backward" text="Bus lanes backward" values="yes|designated,yes|yes|designated,yes|no|designated,yes|yes|designated|yes,yes|yes|no|designated," match="key" />
      <combo key="hgv:lanes:forward" text="Heavy good vehicle lanes forward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes" match="key" />
      <combo key="hgv:lanes:backward" text="Heavy good vehicle lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" match="key" />
      <combo key="psv:lanes:forward" text="Public transport lanes forward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" match="key" />
      <combo key="psv:lanes:backward" text="Public transport lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" match="key" />
      <combo key="taxi:lanes:forward" text="Taxi lanes forward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" match="key" />
      <combo key="taxi:lanes:backward" text="Taxi lanes backward" values="yes|designated,yes|yes|designated,yes|yes|designated|yes,no|yes" match="key" />
      <combo key="hov:lanes:forward" text="High-occupancy lanes forward" values="designated|yes|yes|yes|yes,designated|yes|yes|designated,yes|yes|designated" match="key" />
      <combo key="hov:lanes:backward" text="High-occupancy lanes backward" values="designated|yes|yes|yes|yes,designated|yes|yes|designated,yes|yes|designated" match="key" />
      <combo key="hov:minimum" text="High-occupancy minimum" values="2,3,4" length="1" />
      <space/>
      <combo key="railway:lanes:forward" text="Railway lanes forward" values="tram|no,rail|no,tram|tram|no,no|tram|no,no|tram,no|no|tram,rail|rail|no,no|rail|no,no|rail,no|no|rail" match="key" />
      <combo key="railway:lanes:backward" text="Railway lanes backward" values="tram|no,rail|no,tram|tram|no,no|tram|no,no|tram,no|no|tram,rail|rail|no,no|rail|no,no|rail,no|no|rail" match="key" />
      <combo key="train:lanes:forward" text="Train access lanes forward" values="yes|no,yes|no|no,yes|yes|no,yes|yes|yes|no,no|yes|yes|no,no|yes,no|no,no|no|yes" match="key" />
      <combo key="train:lanes:backward" text="Train access lanes backward" values="yes|no,yes|no|no,yes|yes|no,yes|yes|yes|no,no|yes|yes|no,no|yes,no|no,no|no|yes" match="key" />
    </item>
  </group>
</presets>

Presets_LaneAttributes-preset.xml, Presets_LaneAttributes.zip

Last modified 2 years ago Last modified on 2015-06-02T19:19:03+02:00