Ticket #10330: josm_10330_indent_unify.diff

File josm_10330_indent_unify.diff, 84.4 KB (added by skyper, 10 years ago)

indent patch

  • data/defaultpresets.xml

     
    161161 - keyvalue: positive if key and value matches, negative otherwise
    162162Note that for a match, at least one positive and no negative is required.
    163163-->
    164     <!-- Item chunks -->
    165     <chunk id="surface">
    166         <combo key="surface" text="Surface" values="paved,unpaved,asphalt,concrete,metal,wood,paving_stones,cobblestone,gravel,pebblestone,compacted,grass_paver,grass,sand,ground,sett" />
    167     </chunk>
    168     <chunk id="highway_base">
    169         <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3"/>
    170         <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="3"/>
    171         <text key="maxspeed" text="Max. speed (km/h)"/>
    172         <reference ref="surface" />
    173     </chunk>
    174     <chunk id="highway_yesno_incline">
    175         <check key="bridge" text="Bridge" disable_off="true" />
    176         <check key="tunnel" text="Tunnel" disable_off="true" />
    177         <check key="cutting" text="Cutting" disable_off="true" />
    178         <check key="embankment" text="Embankment" disable_off="true" />
    179         <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down"/>
    180     </chunk>
    181     <chunk id="highway_yesno_incline_oneway">
    182         <check key="oneway" text="Oneway" />
    183         <reference ref="highway_yesno_incline" />
    184     </chunk>
    185     <chunk id="highway_yesno_incline_oneway_lit">
    186         <reference ref="highway_yesno_incline_oneway" />
    187         <check key="lit" text="Lit" />
    188     </chunk>
    189     <chunk id="highway_yesno_incline_oneway_lit_width">
    190         <reference ref="highway_yesno_incline_oneway_lit" />
    191         <text key="width" text="Width (meters)" />
    192     </chunk>
    193     <chunk id="railway_service">
    194         <combo key="service" text="Service type" values="yard,siding,spur" />
    195     </chunk>
    196     <chunk id="railway_electrified">
    197         <combo key="electrified" text="Electrified" values="contact_line,no,yes,rail" />
    198         <combo key="voltage" text="Voltage in Volts (V)" values="600,650,750,1500,3000,15000,25000" length="5" />
    199         <combo key="frequency" text="Frequency in Hertz (Hz)" values="0,16.67,16.7" length="5" />
    200     </chunk>
    201     <chunk id="railway_service_gauge_electrified">
    202         <reference ref="railway_service" />
    203         <combo key="tracks" text="Tracks" text_context="railway" values="1,2,3,4" length="4" />
    204         <combo key="gauge" text="Gauge (mm)" values="1668,1676,1674,1600,1524,1520,1495,1435,1067,1000,914,762,760,750" length="4" />
    205         <reference ref="railway_electrified" />
    206     </chunk>
    207     <chunk id="barrier_5">
    208         <optional text="Allowed traffic:">
    209             <check key="foot" text="Foot" default="on"/>
    210             <check key="bicycle" text="Bicycle" default="on"/>
    211             <check key="horse" text="Horse" />
    212             <check key="motorcycle" text="Motorcycle" />
    213             <check key="motorcar" text="Motorcar" />
    214         </optional>
    215     </chunk>
    216     <chunk id="barrier_4">
    217         <optional text="Allowed traffic:">
    218             <check key="foot" text="Foot" default="on"/>
    219             <check key="bicycle" text="Bicycle" default="on"/>
    220             <check key="horse" text="Horse" />
    221             <check key="motorcycle" text="Motorcycle" />
    222         </optional>
    223     </chunk>
    224     <chunk id="barrier_2">
    225         <optional text="Allowed traffic:">
    226             <check key="foot" text="Foot" default="on"/>
    227             <check key="bicycle" text="Bicycle" default="on"/>
    228         </optional>
    229     </chunk>
    230     <chunk id="contact">
    231         <text key="phone" text="Phone Number"/>
    232         <text key="fax" text="Fax Number"/>
    233         <text key="website" text="Website"/>
    234     <text key="email" text="Email Address"/>
    235     </chunk>
    236     <chunk id="name_ref">
    237         <text key="name" text="Name" />
    238         <text key="ref" text="Reference" />
    239     </chunk>
    240     <chunk id="name_ref_operator">
    241         <text key="name" text="Name" />
    242         <text key="ref" text="Reference" />
    243         <text key="operator" text="Operator" />
    244     </chunk>
    245     <chunk id="name_operator">
    246         <text key="name" text="Name" />
    247         <text key="operator" text="Operator" />
    248     </chunk>
    249     <chunk id="name_layer">
    250         <text key="name" text="Name" />
    251         <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
    252     </chunk>
    253     <chunk id="service_times">
    254         <combo key="service_times" text="Service Times" delimiter="|" values="18:00|sunset,sunrise|Su 09:30,11:00|Sa,Su,PH 09:00|Sa 18:00; Su 10:45|Fr 08:00-18:00; Apr 10-15 off; Jun 07:00-20:00; Aug off; Dec 24 08:00-24:00|Sa 10:00+|week 1-53/2 Fr 09:00-12:00; week 2-52/2 We 09:00-12:00" />
    255     </chunk>
    256     <chunk id="oh">
    257         <combo key="opening_hours" text="Opening Hours" delimiter="|" values="24/7|08:30-12:30,15:30-20:00|Sa-Su 00:00-24:00|Mo-Fr 08:30-20:00; Sa,Su 08:00-15:00; PH off|Mo-Fr 08:30-20:00, Tu-Su 08:00-15:00; Sa 08:00-12:00|Mo-Su 08:00-18:00; Apr 10-15 off; Jun 08:00-14:00; Aug off; Dec 25 off|sunrise-sunset|Su 10:00+|week 1-53/2 Fr 09:00-12:00; week 2-52/2 We 09:00-12:00" />
    258     </chunk>
    259     <chunk id="name_oh">
    260         <text key="name" text="Name" />
    261         <reference ref="oh" />
    262     </chunk>
    263     <chunk id="name_operator_oh">
    264         <text key="name" text="Name" />
    265         <text key="operator" text="Operator" />
    266         <reference ref="oh" />
    267     </chunk>
    268     <chunk id="name_brand_operator_oh">
    269         <text key="name" text="Name" />
    270         <text key="brand" text="Brand" />
    271         <text key="operator" text="Operator" />
    272         <reference ref="oh" />
    273     </chunk>
    274     <chunk id="name_brand_oh">
    275         <text key="name" text="Name" />
    276         <text key="brand" text="Brand" />
    277         <reference ref="oh" />
    278     </chunk>
    279     <chunk id="internet_smoking_wheelchair">
    280         <combo key="internet_access" text="Internet access" values="yes,wlan,wired,terminal,no" />
    281         <combo key="internet_access:fee" text="Internet access fee" values="yes,no" />
    282         <combo key="smoking" text="Smoking" values="yes,dedicated,separated,isolated,no" />
    283         <combo key="wheelchair" text="Wheelchairs" values="yes,no" />
    284     </chunk>
    285     <chunk id="optional_height">
    286         <optional>
    287             <text key="height" text="Height (meters)" length="7" />
    288         </optional>
    289     </chunk>
    290     <chunk id="optional_maxwidth">
    291         <optional>
    292             <text key="maxwidth" text="Max. width (meters)" length="7" />
    293         </optional>
    294     </chunk>
    295     <chunk id="optional_maxheight_maxwidth">
    296         <optional>
    297             <text key="maxheight" text="Max. height (meters)" length="7" />
    298             <text key="maxwidth" text="Max. width (meters)" length="7" />
    299         </optional>
    300     </chunk>
    301     <chunk id="name_leisure_pitch">
    302         <text key="name" text="Name" />
    303         <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" default="pitch" />
    304     </chunk>
    305     <chunk id="payment_base">
    306         <check key="payment:coins" text="Coins" />
    307         <check key="payment:notes" text="Notes" />
    308         <check key="payment:electronic_purses" text="Electronic purses and Charge cards" />
    309         <check key="payment:debit_cards" text="Debit cards" />
    310         <check key="payment:credit_cards" text="Credit cards" />
    311     </chunk>
    312     <chunk id="payment_account">
    313         <reference ref="payment_base" />
    314         <check key="payment:account_cards" text="Account or loyalty cards" />
    315     </chunk>
    316     <chunk id="parking_name_type_ref">
    317         <text key="name" text="Name" />
    318         <combo key="parking" text="Type" values="multi-storey,surface,underground,rooftop" />
    319         <text key="ref" text="Reference number" />
    320     </chunk>
    321     <chunk id="parking_access_fee_operator_surface">
    322         <space />
    323         <combo key="access" text="Access" values="yes,private,customers,permissive,no" />
    324         <combo key="fee" text="Fee" values="yes,no,interval" />
    325         <text key="operator" text="Operator" />
    326         <reference ref="surface" />
    327         <space />
    328     </chunk>
    329     <chunk id="stay">
    330         <combo key="stay" text="Time Limit (minutes)" values="0,30-60,30-180,30+" />
    331     </chunk>
    332     <chunk id="supervised_lit_oh">
    333         <combo key="supervised" text="Supervised" values="yes,no,interval" />
    334         <combo key="lit" text="Lit" values="yes,no,interval" />
    335         <reference ref="oh" />
    336     </chunk>
    337     <chunk id="general_access">
    338         <combo key="access" text="General Access" values="yes,destination,delivery,permissive,private,customers,agricultural,forestry,no" values_searchable="true" />
    339     </chunk>
    340     <chunk id="name_wikipedia">
    341         <text key="name" text="Name" />
    342         <text key="wikipedia" text="Wikipedia" />
    343     </chunk>
    344     <chunk id="population_postcode_website">
    345         <text key="population" text="Population" />
    346         <text key="addr:postcode" text="Post code" />
    347         <text key="website" text="Website" />
    348     </chunk>
    349     <chunk id="route_hikebike_optionals">
    350         <text key="distance" text="Distance (km)"/>
    351         <text key="ascent" text="Ascent (m)"/>
    352         <text key="descent" text="Descent (m)"/>
    353         <check key="roundtrip" text="Roundtrip"/>
    354         <text key="symbol" text="Symbol description"/>
    355         <text key="description" text="Description"/>
    356     </chunk>
    357     <chunk id="leaf">
    358         <combo key="leaf_type" text="Type" values="broadleaved,needleleaved,mixed,leafless" />
    359         <combo key="leaf_cycle" text="Cycle" values="deciduous,evergreen,semi_deciduous,semi_evergreen,mixed" />
    360     </chunk>
    361     <chunk id="religious">
    362         <text key="name" text="Name" />
    363         <combo key="religion" text="Religion" values="bahai,buddhist,christian,hindu,jain,jewish,muslim,shinto,sikh,spiritualist,taoist,unitarian,zoroastrian" />
    364         <combo key="denomination" text="Denomination" values="anglican,baptist,catholic,evangelical,jehovahs_witness,lutheran,methodist,mormon,orthodox,pentecostal,presbyterian,protestant,quaker,shia,sunni" />
    365     </chunk>
     164  <!-- Item chunks -->
     165  <chunk id="surface">
     166      <combo key="surface" text="Surface" values="paved,unpaved,asphalt,concrete,metal,wood,paving_stones,cobblestone,gravel,pebblestone,compacted,grass_paver,grass,sand,ground,sett" />
     167  </chunk>
     168  <chunk id="highway_base">
     169      <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
     170      <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="3" />
     171      <text key="maxspeed" text="Max. speed (km/h)" />
     172      <reference ref="surface" />
     173  </chunk>
     174  <chunk id="highway_yesno_incline">
     175      <check key="bridge" text="Bridge" disable_off="true" />
     176      <check key="tunnel" text="Tunnel" disable_off="true" />
     177      <check key="cutting" text="Cutting" disable_off="true" />
     178      <check key="embankment" text="Embankment" disable_off="true" />
     179      <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" />
     180  </chunk>
     181  <chunk id="highway_yesno_incline_oneway">
     182      <check key="oneway" text="Oneway" />
     183      <reference ref="highway_yesno_incline" />
     184  </chunk>
     185  <chunk id="highway_yesno_incline_oneway_lit">
     186      <reference ref="highway_yesno_incline_oneway" />
     187      <check key="lit" text="Lit" />
     188  </chunk>
     189  <chunk id="highway_yesno_incline_oneway_lit_width">
     190      <reference ref="highway_yesno_incline_oneway_lit" />
     191      <text key="width" text="Width (meters)" />
     192  </chunk>
     193  <chunk id="railway_service">
     194      <combo key="service" text="Service type" values="yard,siding,spur" />
     195  </chunk>
     196  <chunk id="railway_electrified">
     197      <combo key="electrified" text="Electrified" values="contact_line,no,yes,rail" />
     198      <combo key="voltage" text="Voltage in Volts (V)" values="600,650,750,1500,3000,15000,25000" length="5" />
     199      <combo key="frequency" text="Frequency in Hertz (Hz)" values="0,16.67,16.7" length="5" />
     200  </chunk>
     201  <chunk id="railway_service_gauge_electrified">
     202      <reference ref="railway_service" />
     203      <combo key="tracks" text="Tracks" text_context="railway" values="1,2,3,4" length="4" />
     204      <combo key="gauge" text="Gauge (mm)" values="1668,1676,1674,1600,1524,1520,1495,1435,1067,1000,914,762,760,750" length="4" />
     205      <reference ref="railway_electrified" />
     206  </chunk>
     207  <chunk id="barrier_5">
     208      <optional text="Allowed traffic:">
     209          <check key="foot" text="Foot" default="on" />
     210          <check key="bicycle" text="Bicycle" default="on" />
     211          <check key="horse" text="Horse" />
     212          <check key="motor_vehicle" text="Motor vehicles" />
     213          <check key="motorcycle" text="Motorcycle" />
     214          <check key="motorcar" text="Motorcar" />
     215      </optional>
     216  </chunk>
     217  <chunk id="barrier_4">
     218      <optional text="Allowed traffic:">
     219          <check key="foot" text="Foot" default="on" />
     220          <check key="bicycle" text="Bicycle" default="on" />
     221          <check key="horse" text="Horse" />
     222          <check key="motorcycle" text="Motorcycle" />
     223      </optional>
     224  </chunk>
     225  <chunk id="barrier_2">
     226      <optional text="Allowed traffic:">
     227          <check key="foot" text="Foot" default="on" />
     228          <check key="bicycle" text="Bicycle" default="on" />
     229      </optional>
     230  </chunk>
     231  <chunk id="contact">
     232      <text key="phone" text="Phone Number" />
     233      <text key="fax" text="Fax Number" />
     234      <text key="website" text="Website" />
     235  <text key="email" text="Email Address" />
     236  </chunk>
     237  <chunk id="name_ref">
     238      <text key="name" text="Name" />
     239      <text key="ref" text="Reference" />
     240  </chunk>
     241  <chunk id="name_ref_operator">
     242      <text key="name" text="Name" />
     243      <text key="ref" text="Reference" />
     244      <text key="operator" text="Operator" />
     245  </chunk>
     246  <chunk id="name_operator">
     247      <text key="name" text="Name" />
     248      <text key="operator" text="Operator" />
     249  </chunk>
     250  <chunk id="name_layer">
     251      <text key="name" text="Name" />
     252      <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
     253  </chunk>
     254  <chunk id="service_times">
     255      <combo key="service_times" text="Service Times" delimiter="|" values="18:00|sunset,sunrise|Su 09:30,11:00|Sa,Su,PH 09:00|Sa 18:00; Su 10:45|Fr 08:00-18:00; Apr 10-15 off; Jun 07:00-20:00; Aug off; Dec 24 08:00-24:00|Sa 10:00+|week 1-53/2 Fr 09:00-12:00; week 2-52/2 We 09:00-12:00" />
     256  </chunk>
     257  <chunk id="oh">
     258      <combo key="opening_hours" text="Opening Hours" delimiter="|" values="24/7|08:30-12:30,15:30-20:00|Sa-Su 00:00-24:00|Mo-Fr 08:30-20:00; Sa,Su 08:00-15:00; PH off|Mo-Fr 08:30-20:00, Tu-Su 08:00-15:00; Sa 08:00-12:00|Mo-Su 08:00-18:00; Apr 10-15 off; Jun 08:00-14:00; Aug off; Dec 25 off|sunrise-sunset|Su 10:00+|week 1-53/2 Fr 09:00-12:00; week 2-52/2 We 09:00-12:00" />
     259  </chunk>
     260  <chunk id="name_oh">
     261      <text key="name" text="Name" />
     262      <reference ref="oh" />
     263  </chunk>
     264  <chunk id="name_operator_oh">
     265      <text key="name" text="Name" />
     266      <text key="operator" text="Operator" />
     267      <reference ref="oh" />
     268  </chunk>
     269  <chunk id="name_brand_operator_oh">
     270      <text key="name" text="Name" />
     271      <text key="brand" text="Brand" />
     272      <text key="operator" text="Operator" />
     273      <reference ref="oh" />
     274  </chunk>
     275  <chunk id="name_brand_oh">
     276      <text key="name" text="Name" />
     277      <text key="brand" text="Brand" />
     278      <reference ref="oh" />
     279  </chunk>
     280  <chunk id="internet_smoking_wheelchair">
     281      <combo key="internet_access" text="Internet access" values="yes,wlan,wired,terminal,no" />
     282      <combo key="internet_access:fee" text="Internet access fee" values="yes,no" />
     283      <combo key="smoking" text="Smoking" values="yes,dedicated,separated,isolated,no" />
     284      <combo key="wheelchair" text="Wheelchairs" values="yes,no" />
     285  </chunk>
     286  <chunk id="optional_height">
     287      <optional>
     288          <text key="height" text="Height (meters)" length="7" />
     289      </optional>
     290  </chunk>
     291  <chunk id="optional_maxwidth">
     292      <optional>
     293          <text key="maxwidth" text="Max. width (meters)" length="7" />
     294      </optional>
     295  </chunk>
     296  <chunk id="optional_maxheight_maxwidth">
     297      <optional>
     298          <text key="maxheight" text="Max. height (meters)" length="7" />
     299          <text key="maxwidth" text="Max. width (meters)" length="7" />
     300      </optional>
     301  </chunk>
     302  <chunk id="name_leisure_pitch">
     303      <text key="name" text="Name" />
     304      <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" default="pitch" />
     305  </chunk>
     306  <chunk id="payment_base">
     307      <check key="payment:coins" text="Coins" />
     308      <check key="payment:notes" text="Notes" />
     309      <check key="payment:electronic_purses" text="Electronic purses and Charge cards" />
     310      <check key="payment:debit_cards" text="Debit cards" />
     311      <check key="payment:credit_cards" text="Credit cards" />
     312  </chunk>
     313  <chunk id="payment_account">
     314      <reference ref="payment_base" />
     315      <check key="payment:account_cards" text="Account or loyalty cards" />
     316  </chunk>
     317  <chunk id="parking_name_type_ref">
     318      <text key="name" text="Name" />
     319      <combo key="parking" text="Type" values="multi-storey,surface,underground,rooftop" />
     320      <text key="ref" text="Reference number" />
     321  </chunk>
     322  <chunk id="parking_access_fee_operator_surface">
     323      <space />
     324      <combo key="access" text="Access" values="yes,private,customers,permissive,no" />
     325      <combo key="fee" text="Fee" values="yes,no,interval" />
     326      <text key="operator" text="Operator" />
     327      <reference ref="surface" />
     328      <space />
     329  </chunk>
     330  <chunk id="stay">
     331      <combo key="stay" text="Time Limit (minutes)" values="0,30-60,30-180,30+" />
     332  </chunk>
     333  <chunk id="supervised_lit_oh">
     334      <combo key="supervised" text="Supervised" values="yes,no,interval" />
     335      <combo key="lit" text="Lit" values="yes,no,interval" />
     336      <reference ref="oh" />
     337  </chunk>
     338  <chunk id="general_access">
     339      <combo key="access" text="General Access" values="yes,destination,delivery,permissive,private,customers,agricultural,forestry,no" values_searchable="true" />
     340  </chunk>
     341  <chunk id="name_wikipedia">
     342      <text key="name" text="Name" />
     343      <text key="wikipedia" text="Wikipedia" />
     344  </chunk>
     345  <chunk id="population_postcode_website">
     346      <text key="population" text="Population" />
     347      <text key="addr:postcode" text="Post code" />
     348      <text key="website" text="Website" />
     349  </chunk>
     350  <chunk id="route_hikebike_optionals">
     351      <text key="distance" text="Distance (km)" />
     352      <text key="ascent" text="Ascent (m)" />
     353      <text key="descent" text="Descent (m)" />
     354      <check key="roundtrip" text="Roundtrip" />
     355      <text key="symbol" text="Symbol description" />
     356      <text key="description" text="Description" />
     357  </chunk>
     358  <chunk id="leaf">
     359      <combo key="leaf_type" text="Type" values="broadleaved,needleleaved,mixed,leafless" />
     360      <combo key="leaf_cycle" text="Cycle" values="deciduous,evergreen,semi_deciduous,semi_evergreen,mixed" />
     361  </chunk>
     362  <chunk id="religious">
     363      <text key="name" text="Name" />
     364      <combo key="religion" text="Religion" values="bahai,buddhist,christian,hindu,jain,jewish,muslim,shinto,sikh,spiritualist,taoist,unitarian,zoroastrian" />
     365      <combo key="denomination" text="Denomination" values="anglican,baptist,catholic,evangelical,jehovahs_witness,lutheran,methodist,mormon,orthodox,pentecostal,presbyterian,protestant,quaker,shia,sunni" />
     366  </chunk>
    366367  <!-- Link chunks -->
    367368  <chunk id="link_contact">
    368369    <preset_link preset_name="Contact (common schema)" />
     
    846847                <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" default="1" length="3" />
    847848                <text key="maxspeed" text="Max. speed (km/h)" />
    848849                <text key="maxweight" text="Max. weight (tonnes)" />
     850                <text key="maxaxleload" text="Max. axleload (tonnes)" match="key" />
    849851                <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" />
    850852                <text key="width" text="Width (meters)" />
    851853                <check key="toll" text="Toll" />
     
    18631865            <key key="natural" value="cliff" />
    18641866            <text key="name" text="Name" />
    18651867        </item>
    1866       </group> <!-- Water -->
     1868    </group> <!-- Water -->
    18671869    <group name="Shipping" icon="presets/ferry.png">
    18681870        <item name="Ferry Terminal" icon="presets/ferry.png" type="node,closedway" preset_name_label="true">
    18691871            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=ferry_terminal"
     
    18861888                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:route=ferry" />
    18871889            <key key="route" value="ferry" />
    18881890            <optional>
    1889               <text key="name" text="Name" />
     1891                <text key="name" text="Name" />
    18901892            </optional>
    18911893        </item>
    18921894        <separator/>
     
    67996801        </item>
    68006802    </group> <!-- Landuse -->
    68016803  </group>
    6802     <group name="Annotation" icon="presets/addresses.png">
    6803         <item name="Name" icon="presets/message.png" type="node,way,closedway,relation" preset_name_label="true">
    6804             <link href="http://wiki.openstreetmap.org/wiki/Key:name"
    6805                   ar.href="http://wiki.openstreetmap.org/wiki/Ar:Key:name"
    6806                   ca.href="http://wiki.openstreetmap.org/wiki/Ca:Key:name"
    6807                   cs.href="http://wiki.openstreetmap.org/wiki/Cs:Key:name"
    6808                   de.href="http://wiki.openstreetmap.org/wiki/DE:Key:name"
    6809                   es.href="http://wiki.openstreetmap.org/wiki/ES:Key:name"
    6810                   fi.href="http://wiki.openstreetmap.org/wiki/Fi:Key:name"
    6811                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:name"
    6812                   it.href="http://wiki.openstreetmap.org/wiki/IT:Key:name"
    6813                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:name"
    6814                   nl.href="http://wiki.openstreetmap.org/wiki/NL:Key:name"
    6815                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:name"
    6816                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:name"
    6817                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:name"
    6818                   sv.href="http://wiki.openstreetmap.org/wiki/Sv:Key:name"
    6819                   uk.href="http://wiki.openstreetmap.org/wiki/Uk:Key:name"
    6820                   zh_CN.href="http://wiki.openstreetmap.org/wiki/Zh-hans:Key:name" />
    6821             <space />
    6822             <text key="name" text="Name" />
    6823             <optional>
    6824                 <text key="alt_name" text="Alternative name" match="key" />
    6825                 <text key="old_name" text="Historical name" match="key" />
    6826                 <text key="loc_name" text="Local name" match="key" />
    6827                 <text key="reg_name" text="Regional name" match="key" />
    6828                 <text key="nat_name" text="National name" match="key" />
    6829                 <text key="int_name" text="International name" match="key" />
    6830                 <text key="official_name" text="Official name" match="key" />
    6831                 <text key="short_name" text="Common name abbreviation" match="key" />
    6832             </optional>
    6833         </item>
    6834         <item name="Addresses" icon="presets/addresses.png" type="node,way,closedway,relation" preset_name_label="true">
    6835             <link href="http://wiki.openstreetmap.org/wiki/Key:addr"
    6836                   cs.href="http://wiki.openstreetmap.org/wiki/Cs:Key:addr"
    6837                   de.href="http://wiki.openstreetmap.org/wiki/DE:Key:addr"
    6838                   es.href="http://wiki.openstreetmap.org/wiki/ES:Key:addr"
    6839                   et.href="http://wiki.openstreetmap.org/wiki/Et:Key:addr"
    6840                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:addr"
    6841                   hr.href="http://wiki.openstreetmap.org/wiki/Hr:Key:addr"
    6842                   it.href="http://wiki.openstreetmap.org/wiki/IT:Key:addr"
    6843                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:addr"
    6844                   nl.href="http://wiki.openstreetmap.org/wiki/NL:Key:addr"
    6845                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:addr"
    6846                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:addr"
    6847                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:addr"
    6848                   vi.href="http://wiki.openstreetmap.org/wiki/Vi:Key:addr" />
    6849             <space />
    6850             <text key="addr:housenumber" text="House number" match="key" auto_increment="-2,-1,+1,+2" />
    6851             <optional>
    6852                 <text key="addr:housename" text="House name" match="key" alternative_autocomplete_keys="name" />
    6853                 <text key="addr:street" text="Street name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
    6854                 <text key="addr:city" text="City name" use_last_as_default="force" match="key" />
    6855                 <text key="addr:postcode" text="Post code" use_last_as_default="force" match="key" />
    6856                 <combo key="addr:country" text="Country code" values_from="java.util.Locale#getISOCountries" use_last_as_default="force" match="key" />
    6857             </optional>
    6858         </item>
    6859         <item name="Address Interpolation" icon="presets/interpolation.png" type="way" preset_name_label="true">
    6860            <link href="http://wiki.openstreetmap.org/wiki/Key:addr"
    6861                  de.href="http://wiki.openstreetmap.org/wiki/DE:Key:addr"
    6862                  es.href="http://wiki.openstreetmap.org/wiki/ES:Key:addr"
    6863                  et.href="http://wiki.openstreetmap.org/wiki/Et:Key:addr"
    6864                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:addr"
    6865                  hr.href="http://wiki.openstreetmap.org/wiki/Hr:Key:addr"
    6866                  it.href="http://wiki.openstreetmap.org/wiki/IT:Key:addr"
    6867                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:addr"
    6868                  nl.href="http://wiki.openstreetmap.org/wiki/NL:Key:addr"
    6869                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:addr"
    6870                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:addr"
    6871                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:addr" />
    6872             <space />
    6873             <combo key="addr:interpolation" text="Numbering scheme" values="odd,even,all,alphabetic" default="odd" match="key" />
    6874             <optional>
    6875                 <combo key="addr:inclusion" text="Accuracy" values="actual,estimate,potential" match="key" />
    6876             </optional>
    6877         </item>
    6878         <item name="Contact (common schema)" icon="presets/contact.png" type="node,way,closedway,relation" preset_name_label="true">
    6879             <space />
    6880             <text key="phone" text="Phone Number" match="key" />
    6881             <text key="fax" text="Fax Number" match="key" />
    6882             <space />
    6883             <text key="website" text="Website" match="key" />
    6884             <text key="email" text="Email Address" match="key" />
    6885             <space />
    6886             <text key="wikipedia" text="Wikipedia" />
    6887             <text key="image" text="Image" />
    6888         </item>
    6889         <item name="Contact (schema with 'contact:*' prefix)" icon="presets/contact.png" type="node,way,closedway,relation" preset_name_label="true">
    6890             <link href="http://wiki.openstreetmap.org/wiki/Key:contact"
    6891                   cs.href="http://wiki.openstreetmap.org/wiki/Cs:Key:contact"
    6892                   de.href="http://wiki.openstreetmap.org/wiki/DE:Key:contact"
    6893                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:contact"
    6894                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:contact"
    6895                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:contact"
    6896                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:contact"
    6897                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:contact" />
    6898             <space />
    6899             <text key="contact:phone" text="Phone Number" match="key" />
    6900             <text key="contact:fax" text="Fax Number" match="key" />
    6901             <space />
    6902             <text key="contact:website" text="Website" match="key" />
    6903             <text key="contact:email" text="Email Address" match="key" />
    6904             <space />
    6905             <text key="wikipedia" text="Wikipedia" />
    6906             <text key="image" text="Image" />
    6907         </item>
    6908     </group> <!-- Annotation -->
    6909     <group name="Relations" icon="presets/relations.png">
    6910         <item name="Multipolygon" icon="presets/multipolygon.png" type="relation" preset_name_label="true">
    6911             <link href="http://wiki.openstreetmap.org/wiki/Relation:multipolygon"
    6912                   cs.href="http://wiki.openstreetmap.org/wiki/Cs:Relation:multipolygon"
    6913                   de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:multipolygon"
    6914                   es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:multipolygon"
    6915                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:multipolygon"
    6916                   it.href="http://wiki.openstreetmap.org/wiki/IT:Relation:multipolygon"
    6917                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:multipolygon"
    6918                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:multipolygon"
    6919                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:multipolygon" />
    6920             <key key="type" value="multipolygon" />
    6921             <optional>
    6922                 <text key="name" text="Name" />
    6923             </optional>
    6924             <roles>
    6925                 <role key="outer" text="outer segment" requisite="required" type="way" />
    6926                 <role key="inner" text="inner segment" requisite="optional" type="way" />
    6927             </roles>
    6928         </item>
    6929         <item name="Boundary" icon="presets/boundaries.png" type="relation" preset_name_label="true">
    6930             <link href="http://wiki.openstreetmap.org/wiki/Relation:boundary"
    6931                   de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:boundary"
    6932                   es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:boundary"
    6933                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:boundary"
    6934                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:boundary"
    6935                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:boundary"
    6936                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:boundary" />
    6937             <space />
    6938             <key key="type" value="boundary" />
    6939             <text key="name" text="Name" />
    6940             <optional>
    6941                 <combo key="boundary" text="Boundary type" values="administrative,national,civil,political" values_searchable="true" />
    6942                 <combo key="admin_level" text="Administrative level" values="1,2,3,4,5,6,7,8,9,10" />
    6943             </optional>
    6944             <roles>
    6945                 <role key="outer" text="outer segment" requisite="required" type="way" />
    6946                 <role key="inner" text="inner segment" requisite="optional" type="way" />
    6947                 <role key="subarea" text="Sub area" requisite="optional" type="relation" />
    6948                 <role key="admin_centre" text="Administration centre" requisite="optional" type="node" count="1" />
    6949                 <role key="label" text="Label point" requisite="optional" type="node" count="1" />
    6950             </roles>
    6951         </item>
    6952         <item name="Site" type="relation" preset_name_label="true">
    6953             <link href="http://wiki.openstreetmap.org/wiki/Relation:site"
    6954                   de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:site"
    6955                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:site"
    6956                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:site" />
    6957             <space />
    6958             <key key="type" value="site" />
    6959             <text key="name" text="Site name" />
    6960             <roles>
    6961                 <role key="label" text="where to place the label" requisite="optional" type="node" />
    6962                 <role key="perimeter" text="perimeter of the site" requisite="optional" type="closedway,relation" />
    6963                 <role key="entrance" text="entrances to the site, on the perimeter" requisite="optional" type="node" />
    6964                 <role key="" text="members of site" requisite="optional" type="node,way,closedway,relation" />
    6965             </roles>
    6966         </item>
    6967         <separator/>
    6968         <item name="Turn restriction" icon="styles/standard/vehicle/restriction/turn_restrictions/no_u_turn.png" type="relation" preset_name_label="true">
    6969             <link href="http://wiki.openstreetmap.org/wiki/Relation:restriction"
    6970                   de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:restriction"
    6971                   es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:restriction"
    6972                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:restriction"
    6973                   it.href="http://wiki.openstreetmap.org/wiki/IT:Relation:restriction"
    6974                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:restriction"
    6975                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:restriction"
    6976                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Relation:restriction"
    6977                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:restriction" />
    6978             <space />
    6979             <key key="type" value="restriction" />
    6980             <combo key="restriction" text="Restriction" values="no_left_turn,no_right_turn,no_straight_on,no_u_turn,only_right_turn,only_left_turn,only_straight_on" values_searchable="true" />
     6804  <group name="Annotation" icon="presets/addresses.png">
     6805      <item name="Name" icon="presets/message.png" type="node,way,closedway,relation" preset_name_label="true">
     6806          <link href="http://wiki.openstreetmap.org/wiki/Key:name"
     6807                ar.href="http://wiki.openstreetmap.org/wiki/Ar:Key:name"
     6808                ca.href="http://wiki.openstreetmap.org/wiki/Ca:Key:name"
     6809                cs.href="http://wiki.openstreetmap.org/wiki/Cs:Key:name"
     6810                de.href="http://wiki.openstreetmap.org/wiki/DE:Key:name"
     6811                es.href="http://wiki.openstreetmap.org/wiki/ES:Key:name"
     6812                fi.href="http://wiki.openstreetmap.org/wiki/Fi:Key:name"
     6813                fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:name"
     6814                it.href="http://wiki.openstreetmap.org/wiki/IT:Key:name"
     6815                ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:name"
     6816                nl.href="http://wiki.openstreetmap.org/wiki/NL:Key:name"
     6817                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:name"
     6818                pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:name"
     6819                ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:name"
     6820                sv.href="http://wiki.openstreetmap.org/wiki/Sv:Key:name"
     6821                uk.href="http://wiki.openstreetmap.org/wiki/Uk:Key:name"
     6822                zh_CN.href="http://wiki.openstreetmap.org/wiki/Zh-hans:Key:name" />
     6823          <space />
     6824          <text key="name" text="Name" />
     6825          <optional>
     6826              <text key="alt_name" text="Alternative name" match="key" />
     6827              <text key="old_name" text="Historical name" match="key" />
     6828              <text key="loc_name" text="Local name" match="key" />
     6829              <text key="reg_name" text="Regional name" match="key" />
     6830              <text key="nat_name" text="National name" match="key" />
     6831              <text key="int_name" text="International name" match="key" />
     6832              <text key="official_name" text="Official name" match="key" />
     6833              <text key="short_name" text="Common name abbreviation" match="key" />
     6834          </optional>
     6835      </item>
     6836      <item name="Addresses" icon="presets/addresses.png" type="node,way,closedway,relation" preset_name_label="true">
     6837          <link href="http://wiki.openstreetmap.org/wiki/Key:addr"
     6838                cs.href="http://wiki.openstreetmap.org/wiki/Cs:Key:addr"
     6839                de.href="http://wiki.openstreetmap.org/wiki/DE:Key:addr"
     6840                es.href="http://wiki.openstreetmap.org/wiki/ES:Key:addr"
     6841                et.href="http://wiki.openstreetmap.org/wiki/Et:Key:addr"
     6842                fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:addr"
     6843                hr.href="http://wiki.openstreetmap.org/wiki/Hr:Key:addr"
     6844                it.href="http://wiki.openstreetmap.org/wiki/IT:Key:addr"
     6845                ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:addr"
     6846                nl.href="http://wiki.openstreetmap.org/wiki/NL:Key:addr"
     6847                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:addr"
     6848                pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:addr"
     6849                ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:addr"
     6850                vi.href="http://wiki.openstreetmap.org/wiki/Vi:Key:addr" />
     6851          <space />
     6852          <text key="addr:housenumber" text="House number" match="key" auto_increment="-2,-1,+1,+2" />
     6853          <optional>
     6854              <text key="addr:housename" text="House name" match="key" alternative_autocomplete_keys="name" />
     6855              <text key="addr:street" text="Street name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
     6856              <text key="addr:city" text="City name" use_last_as_default="force" match="key" />
     6857              <text key="addr:postcode" text="Post code" use_last_as_default="force" match="key" />
     6858              <combo key="addr:country" text="Country code" values_from="java.util.Locale#getISOCountries" use_last_as_default="force" match="key" />
     6859          </optional>
     6860      </item>
     6861      <item name="Address Interpolation" icon="presets/interpolation.png" type="way" preset_name_label="true">
     6862         <link href="http://wiki.openstreetmap.org/wiki/Key:addr"
     6863               de.href="http://wiki.openstreetmap.org/wiki/DE:Key:addr"
     6864               es.href="http://wiki.openstreetmap.org/wiki/ES:Key:addr"
     6865               et.href="http://wiki.openstreetmap.org/wiki/Et:Key:addr"
     6866               fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:addr"
     6867               hr.href="http://wiki.openstreetmap.org/wiki/Hr:Key:addr"
     6868               it.href="http://wiki.openstreetmap.org/wiki/IT:Key:addr"
     6869               ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:addr"
     6870               nl.href="http://wiki.openstreetmap.org/wiki/NL:Key:addr"
     6871               pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:addr"
     6872               pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:addr"
     6873               ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:addr" />
     6874          <space />
     6875          <combo key="addr:interpolation" text="Numbering scheme" values="odd,even,all,alphabetic" default="odd" match="key" />
     6876          <optional>
     6877              <combo key="addr:inclusion" text="Accuracy" values="actual,estimate,potential" match="key" />
     6878          </optional>
     6879      </item>
     6880      <item name="Contact (common schema)" icon="presets/contact.png" type="node,way,closedway,relation" preset_name_label="true">
     6881          <space />
     6882          <text key="phone" text="Phone Number" match="key" />
     6883          <text key="fax" text="Fax Number" match="key" />
     6884          <space />
     6885          <text key="website" text="Website" match="key" />
     6886          <text key="email" text="Email Address" match="key" />
     6887          <space />
     6888          <text key="wikipedia" text="Wikipedia" />
     6889          <text key="image" text="Image" />
     6890      </item>
     6891      <item name="Contact (schema with 'contact:*' prefix)" icon="presets/contact.png" type="node,way,closedway,relation" preset_name_label="true">
     6892          <link href="http://wiki.openstreetmap.org/wiki/Key:contact"
     6893                cs.href="http://wiki.openstreetmap.org/wiki/Cs:Key:contact"
     6894                de.href="http://wiki.openstreetmap.org/wiki/DE:Key:contact"
     6895                fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:contact"
     6896                ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:contact"
     6897                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:contact"
     6898                pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:contact"
     6899                ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:contact" />
     6900          <space />
     6901          <text key="contact:phone" text="Phone Number" match="key" />
     6902          <text key="contact:fax" text="Fax Number" match="key" />
     6903          <space />
     6904          <text key="contact:website" text="Website" match="key" />
     6905          <text key="contact:email" text="Email Address" match="key" />
     6906          <space />
     6907          <text key="wikipedia" text="Wikipedia" />
     6908          <text key="image" text="Image" />
     6909      </item>
     6910  </group> <!-- Annotation -->
     6911  <group name="Relations" icon="presets/relations.png">
     6912      <item name="Multipolygon" icon="presets/multipolygon.png" type="relation" preset_name_label="true">
     6913          <link href="http://wiki.openstreetmap.org/wiki/Relation:multipolygon"
     6914                cs.href="http://wiki.openstreetmap.org/wiki/Cs:Relation:multipolygon"
     6915                de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:multipolygon"
     6916                es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:multipolygon"
     6917                fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:multipolygon"
     6918                it.href="http://wiki.openstreetmap.org/wiki/IT:Relation:multipolygon"
     6919                ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:multipolygon"
     6920                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:multipolygon"
     6921                ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:multipolygon" />
     6922          <key key="type" value="multipolygon" />
     6923          <optional>
     6924              <text key="name" text="Name" />
     6925          </optional>
     6926          <roles>
     6927              <role key="outer" text="outer segment" requisite="required" type="way" />
     6928              <role key="inner" text="inner segment" requisite="optional" type="way" />
     6929          </roles>
     6930      </item>
     6931      <item name="Boundary" icon="presets/boundaries.png" type="relation" preset_name_label="true">
     6932          <link href="http://wiki.openstreetmap.org/wiki/Relation:boundary"
     6933                de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:boundary"
     6934                es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:boundary"
     6935                fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:boundary"
     6936                ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:boundary"
     6937                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:boundary"
     6938                ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:boundary" />
     6939          <space />
     6940          <key key="type" value="boundary" />
     6941          <text key="name" text="Name" />
     6942          <optional>
     6943              <combo key="boundary" text="Boundary type" values="administrative,national,civil,political" values_searchable="true" />
     6944              <combo key="admin_level" text="Administrative level" values="1,2,3,4,5,6,7,8,9,10" />
     6945          </optional>
     6946          <roles>
     6947              <role key="outer" text="outer segment" requisite="required" type="way" />
     6948              <role key="inner" text="inner segment" requisite="optional" type="way" />
     6949              <role key="subarea" text="Sub area" requisite="optional" type="relation" />
     6950              <role key="admin_centre" text="Administration centre" requisite="optional" type="node" count="1" />
     6951              <role key="label" text="Label point" requisite="optional" type="node" count="1" />
     6952          </roles>
     6953      </item>
     6954      <item name="Site" type="relation" preset_name_label="true">
     6955          <link href="http://wiki.openstreetmap.org/wiki/Relation:site"
     6956                de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:site"
     6957                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:site"
     6958                ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:site" />
     6959          <space />
     6960          <key key="type" value="site" />
     6961          <text key="name" text="Site name" />
     6962          <roles>
     6963              <role key="label" text="where to place the label" requisite="optional" type="node" />
     6964              <role key="perimeter" text="perimeter of the site" requisite="optional" type="closedway,relation" />
     6965              <role key="entrance" text="entrances to the site, on the perimeter" requisite="optional" type="node" />
     6966              <role key="" text="members of site" requisite="optional" type="node,way,closedway,relation" />
     6967          </roles>
     6968      </item>
     6969      <separator/>
     6970      <item name="Turn restriction" icon="styles/standard/vehicle/restriction/turn_restrictions/no_u_turn.png" type="relation" preset_name_label="true">
     6971          <link href="http://wiki.openstreetmap.org/wiki/Relation:restriction"
     6972                de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:restriction"
     6973                es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:restriction"
     6974                fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:restriction"
     6975                it.href="http://wiki.openstreetmap.org/wiki/IT:Relation:restriction"
     6976                ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:restriction"
     6977                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:restriction"
     6978                pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Relation:restriction"
     6979                ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:restriction" />
     6980          <space />
     6981          <key key="type" value="restriction" />
     6982          <combo key="restriction" text="Restriction" values="no_left_turn,no_right_turn,no_straight_on,no_u_turn,only_right_turn,only_left_turn,only_straight_on" values_searchable="true" />
     6983          <optional>
     6984              <text key="name" text="Name" />
     6985          </optional>
     6986          <roles>
     6987              <role key="from" text="from way" requisite="required" count="1" type="way" />
     6988              <role key="via" text="via node or ways" requisite="required" type="way,node" />
     6989              <role key="to" text="to way" requisite="required" count="1" type="way" />
     6990          </roles>
     6991      </item>
     6992      <item name="Enforcement" icon="presets/speed_camera.png" type="relation" preset_name_label="true">
     6993          <link href="http://wiki.openstreetmap.org/wiki/Relation:enforcement"
     6994                de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:enforcement"
     6995                es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:enforcement"
     6996                fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:enforcement"
     6997                it.href="http://wiki.openstreetmap.org/wiki/IT:Relation:enforcement"
     6998                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:enforcement"
     6999                ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:enforcement" />
     7000          <space />
     7001          <key key="type" value="enforcement" />
     7002          <combo key="enforcement" text="Type of enforcement" values="maxheight,maxweight,maxspeed,mindistance,traffic_signals,check " />
     7003          <text key="maxheight" text="Max. height (meters, only if enforcement=maxheight)" />
     7004          <text key="maxweight" text="Max. weight (tonnes, only if enforcement=maxweight)" />
     7005          <text key="maxspeed" text="Max. speed (km/h, only if enforcement=maxspeed)" />
     7006          <roles>
     7007              <role key="device" text="location of enforcement device" requisite="required" type="node,way,closedway" />
     7008              <role key="from" text="node on way where enforcement starts" requisite="required" type="node" />
     7009              <role key="to" text="where enforcement ends" requisite="optional" type="node" />
     7010              <role key="force" text="traffic light or barrier that stops you" requisite="optional" type="node" />
     7011          </roles>
     7012      </item>
     7013      <separator/>
     7014    <group name="Routes">
     7015        <item name="Bicycle route" icon="presets/path.png" type="relation" preset_name_label="true">
     7016            <link href="http://wiki.openstreetmap.org/wiki/Tag:route=bicycle"
     7017                  sk.href="http://wiki.openstreetmap.org/wiki/Sk:Cycle_routes"
     7018                  uk.href="http://wiki.openstreetmap.org/wiki/Uk:Cycle_routes" />
     7019            <space/>
     7020            <key key="type" value="route" />
     7021            <key key="route" value="bicycle" />
     7022            <combo key="network" text="Network" values="icn,ncn,rcn,lcn" match="keyvalue" />
     7023            <reference ref="name_ref_operator" />
    69817024            <optional>
    6982                 <text key="name" text="Name" />
     7025                <reference ref="route_hikebike_optionals" />
    69837026            </optional>
    69847027            <roles>
    6985                 <role key="from" text="from way" requisite="required" count="1" type="way" />
    6986                 <role key="via" text="via node or ways" requisite="required" type="way,node" />
    6987                 <role key="to" text="to way" requisite="required" count="1" type="way" />
    6988             </roles>
    6989         </item>
    6990         <item name="Enforcement" icon="presets/speed_camera.png" type="relation" preset_name_label="true">
    6991             <link href="http://wiki.openstreetmap.org/wiki/Relation:enforcement"
    6992                   de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:enforcement"
    6993                   es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:enforcement"
    6994                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:enforcement"
    6995                   it.href="http://wiki.openstreetmap.org/wiki/IT:Relation:enforcement"
    6996                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:enforcement"
    6997                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:enforcement" />
    6998             <space />
    6999             <key key="type" value="enforcement" />
    7000             <combo key="enforcement" text="Type of enforcement" values="maxheight,maxweight,maxspeed,mindistance,traffic_signals,check " />
    7001             <text key="maxheight" text="Max. height (meters, only if enforcement=maxheight)" />
    7002             <text key="maxweight" text="Max. weight (tonnes, only if enforcement=maxweight)" />
    7003             <text key="maxspeed" text="Max. speed (km/h, only if enforcement=maxspeed)" />
    7004             <roles>
    7005                 <role key="device" text="location of enforcement device" requisite="required" type="node,way,closedway" />
    7006                 <role key="from" text="node on way where enforcement starts" requisite="required" type="node" />
    7007                 <role key="to" text="where enforcement ends" requisite="optional" type="node" />
    7008                 <role key="force" text="traffic light or barrier that stops you" requisite="optional" type="node" />
     7028                <role key="" text="route segment" requisite="required" type="way" />
    70097029            </roles>
    70107030        </item>
    7011         <separator/>
    7012 
    7013         <group name="Routes">
    7014             <item name="Bicycle route" icon="presets/path.png" type="relation" preset_name_label="true">
    7015                 <link href="http://wiki.openstreetmap.org/wiki/Tag:route=bicycle"
    7016                   sk.href="http://wiki.openstreetmap.org/wiki/Sk:Cycle_routes"
    7017                   uk.href="http://wiki.openstreetmap.org/wiki/Uk:Cycle_routes"/>
    7018                 <space/>
    7019                 <key key="type" value="route"/>
    7020                 <key key="route" value="bicycle"/>
    7021                 <combo key="network" text="Network" values="icn,ncn,rcn,lcn" match="keyvalue" />
    7022                 <reference ref="name_ref_operator"/>
    7023                 <optional>
    7024                     <reference ref="route_hikebike_optionals" />
    7025                 </optional>
    7026                 <roles>
    7027                     <role key="" text="route segment" requisite="required" type="way"/>
    7028                 </roles>
    7029             </item>
    7030 
    7031             <item name="MTB route" icon="presets/path.png" type="relation" preset_name_label="true">
    7032                 <link href="http://wiki.openstreetmap.org/wiki/Mountain_biking"
     7031        <item name="MTB route" icon="presets/path.png" type="relation" preset_name_label="true">
     7032            <link href="http://wiki.openstreetmap.org/wiki/Mountain_biking"
    70337033                  cs.href="http://wiki.openstreetmap.org/wiki/Cs:Mountain_biking"
    70347034                  de.href="http://wiki.openstreetmap.org/wiki/DE:Mountain_biking"
    70357035                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Mountain_biking"
    70367036                  it.href="http://wiki.openstreetmap.org/wiki/IT:Mountain_biking"
    70377037                  nl.href="http://wiki.openstreetmap.org/wiki/NL:Mountain_biking"
    70387038                  no.href="http://wiki.openstreetmap.org/wiki/No:Mountain_biking"
    7039                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Mountain_biking"/>
    7040                 <space/>
    7041                 <key key="type" value="route"/>
    7042                 <key key="route" value="mtb"/>
    7043                 <reference ref="name_ref_operator"/>
    7044                 <optional>
    7045                     <reference ref="route_hikebike_optionals" />
    7046                 </optional>
    7047                 <roles>
    7048                     <role key="" text="route segment" requisite="required" type="way" member_expression="highway=path OR highway=track"/>
    7049                 </roles>
    7050             </item>
    7051 
    7052             <item name="Hiking route" icon="presets/path.png" type="relation" preset_name_label="true">
    7053                 <link href="http://wiki.openstreetmap.org/wiki/Tag:route=hiking#Tagging_walking_and_hiking_Route_Networks"
     7039                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Mountain_biking" />
     7040            <space />
     7041            <key key="type" value="route" />
     7042            <key key="route" value="mtb" />
     7043            <reference ref="name_ref_operator" />
     7044            <optional>
     7045                <reference ref="route_hikebike_optionals" />
     7046            </optional>
     7047            <roles>
     7048                <role key="" text="route segment" requisite="required" type="way" member_expression="highway=path OR highway=track" />
     7049            </roles>
     7050        </item>
     7051        <item name="Hiking route" icon="presets/path.png" type="relation" preset_name_label="true">
     7052            <link href="http://wiki.openstreetmap.org/wiki/Tag:route=hiking#Tagging_walking_and_hiking_Route_Networks"
    70547053                  de.href="http://wiki.openstreetmap.org/wiki/DE:Hiking"
    70557054                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Hiking"
    70567055                  it.href="http://wiki.openstreetmap.org/wiki/IT:Hiking"
    70577056                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Hiking"
    70587057                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Hiking"
    7059                   ro.href="http://wiki.openstreetmap.org/wiki/Ro:Hiking"/>
    7060                 <space/>
    7061                 <key key="type" value="route"/>
    7062                 <key key="route" value="hiking"/>
    7063                 <combo key="network" text="Network" values="iwn,nwn,rwn,lwn" match="keyvalue" />
    7064                 <reference ref="name_ref_operator"/>
    7065                 <optional>
    7066                     <reference ref="route_hikebike_optionals" />
    7067                 </optional>
    7068                 <roles>
    7069                     <role key="" text="route segment" requisite="required" type="way" member_expression="highway=path OR highway=footway OR highway=track"/>
    7070                     <role key="" text="infrastructure" requisite="optional" type="node,closedway" member_expression="tourism OR amenity"/>
    7071                     <role key="" text="natural" requisite="optional" type="node,closedway" member_expression="natural=peak OR natural=volcano OR mountain_pass=yes OR natural=water OR tourism=viewpoint OR amenity=drinking_water OR natural=spring OR place=locality"/>
    7072                 </roles>
    7073             </item>
    7074 
    7075             <item name="Piste route" icon="presets/path.png" type="relation" preset_name_label="true">
    7076                 <link href="http://wiki.openstreetmap.org/wiki/Tag:route=piste"
    7077                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Tag:route=piste"/>
    7078                 <space/>
    7079                 <key key="type" value="route"/>
    7080                 <key key="route" value="piste"/>
    7081                 <combo key="piste:type" text="Piste type" values="downhill,nordic,skitour,snow_park" match="keyvalue" />
    7082                 <reference ref="name_ref_operator"/>
    7083                 <optional>
    7084                     <reference ref="route_hikebike_optionals" />
    7085                 </optional>
    7086                 <roles>
    7087                     <role key="" text="route segment" requisite="optional" type="way" />
    7088                     <role key="forward" text="forward segment" requisite="optional" type="way" />
    7089                     <role key="backward" text="backward segment" requisite="optional" type="way" />
    7090                     <role key="link" text="link segment" requisite="optional" type="way" />
    7091                     <role key="shortcut" text="shortcut segment" requisite="optional" type="way" />
    7092                     <role key="variant" text="variant segment" requisite="optional" type="way" />
    7093                     <role key="start" text="entry points" requisite="optional" type="node" />
    7094                 </roles>
    7095             </item>
    7096 
    7097             <item name="Ski route" icon="presets/path.png" type="relation" preset_name_label="true">
    7098                 <link href="http://wiki.openstreetmap.org/wiki/Tag:route=ski"
    7099                   de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:route=ski"/>
    7100                 <space/>
    7101                 <key key="type" value="route"/>
    7102                 <key key="route" value="piste"/>
    7103                 <combo key="piste:type" text="Piste type" values="nordic,alpine" match="keyvalue" />
    7104                 <reference ref="name_ref_operator"/>
    7105                 <optional>
    7106                     <reference ref="route_hikebike_optionals" />
    7107                 </optional>
    7108                 <roles>
    7109                     <role key="" text="route segment" requisite="optional" type="way" />
    7110                     <role key="forward" text="forward segment" requisite="optional" type="way" />
    7111                     <role key="backward" text="backward segment" requisite="optional" type="way" />
    7112                     <role key="link" text="link segment" requisite="optional" type="way" />
    7113                     <role key="shortcut" text="shortcut segment" requisite="optional" type="way" />
    7114                     <role key="variant" text="variant segment" requisite="optional" type="way" />
    7115                     <role key="start" text="entry points" requisite="optional" type="node" />
    7116                 </roles>
    7117             </item>
    7118 
    7119             <separator/>
    7120             <item name="Detour route" icon="presets/path.png" type="relation" preset_name_label="true">
    7121                 <link href="http://wiki.openstreetmap.org/wiki/Tag:route=detour"
    7122                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:route=detour"/>
    7123                 <space/>
    7124                 <key key="type" value="route"/>
    7125                 <key key="route" value="detour"/>
    7126                 <reference ref="name_ref_operator"/>
    7127                 <optional>
    7128                     <text key="destination" text="Destination"/>
    7129                     <text key="detour" text="Ref of the way this is a detour to"/>
    7130                 </optional>
    7131                 <roles>
    7132                     <role key="" text="route segment" requisite="required" type="way"/>
    7133                     <role key="fork" text="fork node for alternative routes" requisite="optional" type="node"/>
    7134                 </roles>
    7135             </item>
    7136             <item name="Power route" icon="presets/path.png" type="relation" preset_name_label="true">
    7137                 <space/>
    7138                 <key key="type" value="route"/>
    7139                 <key key="route" value="power"/>
    7140                 <reference ref="name_ref_operator"/>
    7141                 <roles>
    7142                     <role key="" text="route segment" requisite="required" type="way" member_expression="power"/>
    7143                 </roles>
    7144             </item>
    7145             <item name="Railway route" icon="presets/path.png" type="relation" preset_name_label="true">
    7146                 <link href="http://wiki.openstreetmap.org/wiki/Tag:route=railway"
    7147                   de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:route=railway"
    7148                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:route=railway"
    7149                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:route=railway"/>
    7150                 <space/>
    7151                 <key key="type" value="route"/>
    7152                 <key key="route" value="railway"/>
    7153                 <reference ref="name_ref_operator"/>
    7154                 <roles>
    7155                     <role key="" text="route segment" requisite="required" type="way" member_expression="railway"/>
    7156                 </roles>
    7157             </item>
    7158             <item name="Road route" icon="presets/path.png" type="relation" preset_name_label="true">
    7159                 <link href="http://wiki.openstreetmap.org/wiki/Tag:route=road"
    7160                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:route=road"
    7161                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:route=road"/>
    7162                 <space/>
    7163                 <key key="type" value="route"/>
    7164                 <key key="route" value="road"/>
    7165                 <reference ref="name_ref"/>
    7166                 <text key="network" text="Network" />
    7167                 <text key="operator" text="Operator" />
    7168                 <text key="distance" text="Distance (km)"/>
    7169                 <roles>
    7170                     <role key="" text="route segment" requisite="optional" type="way" member_expression="highway"/>
    7171                     <role key="forward" text="forward segment" requisite="optional" type="way" member_expression="highway"/>
    7172                     <role key="backward" text="backward segment" requisite="optional" type="way" member_expression="highway"/>
    7173                     <role key="link" text="link segment" requisite="optional" type="way" member_expression="highway"/>
    7174                 </roles>
    7175             </item>
    7176 
    7177         </group> <!-- Routes -->
    7178 
    7179         <item name="Route Network" icon="presets/path.png" type="relation" preset_name_label="true">
    7180             <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Network" />
     7058                  ro.href="http://wiki.openstreetmap.org/wiki/Ro:Hiking" />
    71817059            <space />
    7182             <key key="type" value="network" />
    7183             <text key="name" text="Name" />
     7060            <key key="type" value="route" />
     7061            <key key="route" value="hiking" />
     7062            <combo key="network" text="Network" values="iwn,nwn,rwn,lwn" match="keyvalue" />
     7063            <reference ref="name_ref_operator" />
    71847064            <optional>
    7185                 <text key="network" text="Network" />
    7186                 <text key="operator" text="Operator" />
     7065                <reference ref="route_hikebike_optionals" />
    71877066            </optional>
    71887067            <roles>
    7189                 <role key="" text="member" requisite="required" type="relation" />
    7190             </roles>
    7191         </item>
    7192         <separator/>
    7193         <item name="Associated Street" icon="presets/addresses.png" type="relation" preset_name_label="true">
    7194             <link href="http://wiki.openstreetmap.org/wiki/Relation:associatedStreet"
    7195                   de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:associatedStreet"
    7196                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:associatedStreet"
    7197                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:associatedStreet"
    7198                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:associatedStreet"
    7199                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:associatedStreet"
    7200                   uk.href="http://wiki.openstreetmap.org/wiki/Uk:Relation:associatedStreet" />
    7201             <space />
    7202             <key key="type" value="associatedStreet" />
    7203             <text key="name" text="Street name" />
    7204             <roles>
    7205                 <role key="street" text="street" requisite="required" type="way,closedway" member_expression="highway" />
    7206                 <role key="house" text="house" requisite="required" type="node,way,closedway,relation" member_expression="&quot;addr:housenumber&quot; | &quot;addr:interpolation&quot;" />
     7068                <role key="" text="route segment" requisite="required" type="way" member_expression="highway=path OR highway=footway OR highway=track" />
     7069                <role key="" text="infrastructure" requisite="optional" type="node,closedway" member_expression="tourism OR amenity" />
     7070                <role key="" text="natural" requisite="optional" type="node,closedway" member_expression="natural=peak OR natural=volcano OR mountain_pass=yes OR natural=water OR tourism=viewpoint OR amenity=drinking_water OR natural=spring OR place=locality" />
    72077071            </roles>
    72087072        </item>
    7209         <item name="Street" type="relation" preset_name_label="true">
    7210             <link href="http://wiki.openstreetmap.org/wiki/Relation:street"
    7211                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:street" />
     7073        <item name="Piste route" icon="presets/path.png" type="relation" preset_name_label="true">
     7074            <link href="http://wiki.openstreetmap.org/wiki/Tag:route=piste"
     7075                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Tag:route=piste" />
    72127076            <space />
    7213             <key key="type" value="street" />
    7214             <text key="name" text="Name" />
     7077            <key key="type" value="route" />
     7078            <key key="route" value="piste" />
     7079            <combo key="piste:type" text="Piste type" values="downhill,nordic,skitour,snow_park" match="keyvalue" />
     7080            <reference ref="name_ref_operator" />
     7081            <optional>
     7082                <reference ref="route_hikebike_optionals" />
     7083            </optional>
    72157084            <roles>
    7216                 <role key="street" text="ways being part of street" requisite="required" type="way" />
    7217                 <role key="address" text="addresses belonging to the street" requisite="optional" type="node,way,closedway" />
    7218                 <role key="house" text="houses belonging to the street" requisite="optional" type="node,way,closedway" />
    7219                 <role key="associated" text="anything related to the street" requisite="optional" type="node,way,closedway" />
     7085                <role key="" text="route segment" requisite="optional" type="way" />
     7086                <role key="forward" text="forward segment" requisite="optional" type="way" />
     7087                <role key="backward" text="backward segment" requisite="optional" type="way" />
     7088                <role key="link" text="link segment" requisite="optional" type="way" />
     7089                <role key="shortcut" text="shortcut segment" requisite="optional" type="way" />
     7090                <role key="variant" text="variant segment" requisite="optional" type="way" />
     7091                <role key="start" text="entry points" requisite="optional" type="node" />
    72207092            </roles>
    72217093        </item>
    7222         <item name="Destination sign" icon="presets/guidepost.png" type="relation" preset_name_label="true">
    7223             <link href="http://wiki.openstreetmap.org/wiki/Relation:destination_sign"
    7224                   de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:destination_sign"
    7225                   es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:destination_sign"
    7226                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:destination_sign"
    7227                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:destination_sign"
    7228                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:destination_sign"
    7229                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:destination_sign" />
     7094        <item name="Ski route" icon="presets/path.png" type="relation" preset_name_label="true">
     7095            <link href="http://wiki.openstreetmap.org/wiki/Tag:route=ski"
     7096                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:route=ski" />
    72307097            <space />
    7231             <key key="type" value="destination_sign" />
    7232             <text key="destination" text="Destination written on sign (w/o distance)" />
    7233             <text key="distance" text="Distance (km)" />
    7234             <text key="time" text="Time (hh:mm, for trekking)" />
    7235             <text key="colour:back" text="Colour of background" />
    7236             <text key="colour:text" text="Colour of text" />
    7237             <text key="colour:arrow" text="Colour of border/arrow" />
     7098            <key key="type" value="route" />
     7099            <key key="route" value="piste" />
     7100            <combo key="piste:type" text="Piste type" values="nordic,alpine" match="keyvalue" />
     7101            <reference ref="name_ref_operator" />
     7102            <optional>
     7103                <reference ref="route_hikebike_optionals" />
     7104            </optional>
    72387105            <roles>
    7239                 <role key="from" text="last way before junction" requisite="optional" type="node,way" />
    7240                 <role key="intersection" text="node of the intersection" requisite="optional" count="1" type="node" />
    7241                 <role key="to" text="first way after junction" requisite="required" count="1" type="node,way" />
    7242                 <role key="sign" text="position of sign" requisite="optional" type="node" />
     7106                <role key="" text="route segment" requisite="optional" type="way" />
     7107                <role key="forward" text="forward segment" requisite="optional" type="way" />
     7108                <role key="backward" text="backward segment" requisite="optional" type="way" />
     7109                <role key="link" text="link segment" requisite="optional" type="way" />
     7110                <role key="shortcut" text="shortcut segment" requisite="optional" type="way" />
     7111                <role key="variant" text="variant segment" requisite="optional" type="way" />
     7112                <role key="start" text="entry points" requisite="optional" type="node" />
    72437113            </roles>
    72447114        </item>
    72457115        <separator/>
    7246         <item name="Waterway" icon="presets/river.png" type="relation" preset_name_label="true">
    7247             <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Waterway" />
     7116        <item name="Detour route" icon="presets/path.png" type="relation" preset_name_label="true">
     7117            <link href="http://wiki.openstreetmap.org/wiki/Tag:route=detour"
     7118                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:route=detour" />
    72487119            <space />
    7249             <key key="type" value="waterway" />
    7250             <combo key="waterway" text="Subtype of waterway (largest one of members)" values="river,stream,canal,drain,ditch" values_searchable="true" />
    7251             <text key="name" text="Name" />
     7120            <key key="type" value="route" />
     7121            <key key="route" value="detour" />
     7122            <reference ref="name_ref_operator" />
    72527123            <optional>
    7253                 <text key="destination" text="Name of river/sea/ocean" />
    7254                 <text key="ref" text="Reference" />
    7255                 <text key="ref:sandre" text="Reference Sandre (FR)" />
    7256                 <text key="ref:fgkz" text="Reference FGKZ (DE)" />
    7257                 <text key="ref:regine" text="Reference REGINE (NO)" />
    7258                 <text key="ref:gnis" text="Reference GNIS (USA)" />
    7259                 <text key="ref:gnbc" text="Reference GNBC (CA)" />
    7260                 <text key="wikipedia" text="Wikipedia" />
     7124                <text key="destination" text="Destination" />
     7125                <text key="detour" text="Ref of the way this is a detour to" />
    72617126            </optional>
    72627127            <roles>
    7263                 <role key="" text="waterways (no riverbank)" requisite="optional" type="way" member_expression="waterway -waterway:riverbank" />
    7264                 <role key="main_stream" text="waterways (no riverbank)" requisite="optional" type="way" member_expression="waterway -waterway:riverbank" />
    7265                 <role key="side_stream" text="branch waterways (no riverbank)" requisite="optional" type="way" member_expression="waterway -waterway:riverbank" />
    7266                 <role key="spring" text="spring of waterway" requisite="optional" type="node" />
     7128                <role key="" text="route segment" requisite="required" type="way" />
     7129                <role key="fork" text="fork node for alternative routes" requisite="optional" type="node" />
    72677130            </roles>
    72687131        </item>
    7269         <item name="Bridge" icon="presets/bridge.png" type="relation" preset_name_label="true">
    7270             <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Bridges_and_Tunnels"
    7271                   de.href="http://wiki.openstreetmap.org/wiki/DE:Relations/Proposed/Bridges_and_Tunnels"
    7272                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Relations/Proposed/Bridges_and_Tunnels"
    7273                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relations/Proposed/Bridges_and_Tunnels" />
     7132        <item name="Power route" icon="presets/path.png" type="relation" preset_name_label="true">
    72747133            <space />
    7275             <key key="type" value="bridge" />
    7276             <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
    7277             <reference ref="name_ref" />
    7278             <text key="height" text="Height (meters)" />
    7279             <text key="length" text="Length (meters)" />
    7280             <text key="operator" text="Operator" />
     7134            <key key="type" value="route" />
     7135            <key key="route" value="power" />
     7136            <reference ref="name_ref_operator" />
    72817137            <roles>
    7282                 <role key="across" text="ways supported by (on top of) the bridge" requisite="optional" type="way" />
    7283                 <role key="under" text="ways passing under the bridge" requisite="optional" type="way" />
    7284                 <role key="outline" text="way forming the outline footprint" requisite="optional" count="1" type="closedway,relation" />
    7285                 <role key="edge" text="edge ways parallel to 'across'" requisite="optional" type="way" />
     7138                <role key="" text="route segment" requisite="required" type="way" member_expression="power" />
    72867139            </roles>
    72877140        </item>
    7288         <item name="Tunnel" icon="presets/tunnel.png" type="relation" preset_name_label="true">
    7289             <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Bridges_and_Tunnels" />
     7141        <item name="Railway route" icon="presets/path.png" type="relation" preset_name_label="true">
     7142            <link href="http://wiki.openstreetmap.org/wiki/Tag:route=railway"
     7143                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:route=railway"
     7144                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:route=railway"
     7145                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:route=railway" />
    72907146            <space />
    7291             <key key="type" value="tunnel" />
    7292             <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
    7293             <reference ref="name_ref" />
    7294             <text key="length" text="Length (meters)" />
    7295             <text key="operator" text="Operator" />
     7147            <key key="type" value="route" />
     7148            <key key="route" value="railway" />
     7149            <reference ref="name_ref_operator" />
    72967150            <roles>
    7297                 <role key="through" text="ways passing through the tunnel" requisite="required" type="way" />
    7298                 <role key="outline" text="way forming the outline footprint" requisite="optional" count="1" type="closedway,relation" />
    7299                 <role key="edge" text="edge ways parallel to 'through'" requisite="optional" type="way" />
     7151                <role key="" text="route segment" requisite="required" type="way" member_expression="railway" />
    73007152            </roles>
    73017153        </item>
    7302     </group> <!-- Relations -->
     7154        <item name="Road route" icon="presets/path.png" type="relation" preset_name_label="true">
     7155            <link href="http://wiki.openstreetmap.org/wiki/Tag:route=road"
     7156                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:route=road"
     7157                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:route=road" />
     7158              <space />
     7159              <key key="type" value="route" />
     7160              <key key="route" value="road" />
     7161              <reference ref="name_ref" />
     7162              <text key="network" text="Network" />
     7163              <text key="operator" text="Operator" />
     7164              <text key="distance" text="Distance (km)" />
     7165              <roles>
     7166                  <role key="" text="route segment" requisite="optional" type="way" member_expression="highway" />
     7167                  <role key="forward" text="forward segment" requisite="optional" type="way" member_expression="highway" />
     7168                  <role key="backward" text="backward segment" requisite="optional" type="way" member_expression="highway" />
     7169                  <role key="link" text="link segment" requisite="optional" type="way" member_expression="highway" />
     7170              </roles>
     7171          </item>
     7172      </group> <!-- Routes -->
     7173      <item name="Route Network" icon="presets/path.png" type="relation" preset_name_label="true">
     7174          <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Network" />
     7175          <space />
     7176          <key key="type" value="network" />
     7177          <text key="name" text="Name" />
     7178          <optional>
     7179              <text key="network" text="Network" />
     7180              <text key="operator" text="Operator" />
     7181          </optional>
     7182          <roles>
     7183              <role key="" text="member" requisite="required" type="relation" />
     7184          </roles>
     7185      </item>
     7186      <separator/>
     7187      <item name="Associated Street" icon="presets/addresses.png" type="relation" preset_name_label="true">
     7188          <link href="http://wiki.openstreetmap.org/wiki/Relation:associatedStreet"
     7189                de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:associatedStreet"
     7190                fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:associatedStreet"
     7191                ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:associatedStreet"
     7192                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:associatedStreet"
     7193                ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:associatedStreet"
     7194                uk.href="http://wiki.openstreetmap.org/wiki/Uk:Relation:associatedStreet" />
     7195          <space />
     7196          <key key="type" value="associatedStreet" />
     7197          <text key="name" text="Street name" />
     7198          <roles>
     7199              <role key="street" text="street" requisite="required" type="way,closedway" member_expression="highway" />
     7200              <role key="house" text="house" requisite="required" type="node,way,closedway,relation" member_expression="&quot;addr:housenumber&quot; | &quot;addr:interpolation&quot;" />
     7201          </roles>
     7202      </item>
     7203      <item name="Street" type="relation" preset_name_label="true">
     7204          <link href="http://wiki.openstreetmap.org/wiki/Relation:street"
     7205                fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:street" />
     7206          <space />
     7207          <key key="type" value="street" />
     7208          <text key="name" text="Name" />
     7209          <roles>
     7210              <role key="street" text="ways being part of street" requisite="required" type="way" />
     7211              <role key="address" text="addresses belonging to the street" requisite="optional" type="node,way,closedway" />
     7212              <role key="house" text="houses belonging to the street" requisite="optional" type="node,way,closedway" />
     7213              <role key="associated" text="anything related to the street" requisite="optional" type="node,way,closedway" />
     7214          </roles>
     7215      </item>
     7216      <item name="Destination sign" icon="presets/guidepost.png" type="relation" preset_name_label="true">
     7217          <link href="http://wiki.openstreetmap.org/wiki/Relation:destination_sign"
     7218                de.href="http://wiki.openstreetmap.org/wiki/DE:Relation:destination_sign"
     7219                es.href="http://wiki.openstreetmap.org/wiki/ES:Relation:destination_sign"
     7220                fr.href="http://wiki.openstreetmap.org/wiki/FR:Relation:destination_sign"
     7221                ja.href="http://wiki.openstreetmap.org/wiki/JA:Relation:destination_sign"
     7222                pl.href="http://wiki.openstreetmap.org/wiki/Pl:Relation:destination_sign"
     7223                ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:destination_sign" />
     7224          <space />
     7225          <key key="type" value="destination_sign" />
     7226          <text key="destination" text="Destination written on sign (w/o distance)" />
     7227          <text key="distance" text="Distance (km)" />
     7228          <text key="time" text="Time (hh:mm, for trekking)" />
     7229          <text key="colour:back" text="Colour of background" />
     7230          <text key="colour:text" text="Colour of text" />
     7231          <text key="colour:arrow" text="Colour of border/arrow" />
     7232          <roles>
     7233              <role key="from" text="last way before junction" requisite="optional" type="node,way" />
     7234              <role key="intersection" text="node of the intersection" requisite="optional" count="1" type="node" />
     7235              <role key="to" text="first way after junction" requisite="required" count="1" type="node,way" />
     7236              <role key="sign" text="position of sign" requisite="optional" type="node" />
     7237          </roles>
     7238      </item>
     7239      <separator/>
     7240      <item name="Waterway" icon="presets/river.png" type="relation" preset_name_label="true">
     7241          <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Waterway" />
     7242          <space />
     7243          <key key="type" value="waterway" />
     7244          <combo key="waterway" text="Subtype of waterway (largest one of members)" values="river,stream,canal,drain,ditch" values_searchable="true" />
     7245          <text key="name" text="Name" />
     7246          <optional>
     7247              <text key="destination" text="Name of river/sea/ocean" />
     7248              <text key="ref" text="Reference" />
     7249              <text key="ref:sandre" text="Reference Sandre (FR)" />
     7250              <text key="ref:fgkz" text="Reference FGKZ (DE)" />
     7251              <text key="ref:regine" text="Reference REGINE (NO)" />
     7252              <text key="ref:gnis" text="Reference GNIS (USA)" />
     7253              <text key="ref:gnbc" text="Reference GNBC (CA)" />
     7254              <text key="wikipedia" text="Wikipedia" />
     7255          </optional>
     7256          <roles>
     7257              <role key="" text="waterways (no riverbank)" requisite="optional" type="way" member_expression="waterway -waterway:riverbank" />
     7258              <role key="main_stream" text="waterways (no riverbank)" requisite="optional" type="way" member_expression="waterway -waterway:riverbank" />
     7259              <role key="side_stream" text="branch waterways (no riverbank)" requisite="optional" type="way" member_expression="waterway -waterway:riverbank" />
     7260              <role key="spring" text="spring of waterway" requisite="optional" type="node" />
     7261          </roles>
     7262      </item>
     7263      <item name="Bridge" icon="presets/bridge.png" type="relation" preset_name_label="true">
     7264          <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Bridges_and_Tunnels"
     7265                de.href="http://wiki.openstreetmap.org/wiki/DE:Relations/Proposed/Bridges_and_Tunnels"
     7266                ja.href="http://wiki.openstreetmap.org/wiki/JA:Relations/Proposed/Bridges_and_Tunnels"
     7267                ru.href="http://wiki.openstreetmap.org/wiki/RU:Relations/Proposed/Bridges_and_Tunnels" />
     7268          <space />
     7269          <key key="type" value="bridge" />
     7270          <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
     7271          <reference ref="name_ref" />
     7272          <text key="height" text="Height (meters)" />
     7273          <text key="length" text="Length (meters)" />
     7274          <text key="operator" text="Operator" />
     7275          <roles>
     7276              <role key="across" text="ways supported by (on top of) the bridge" requisite="optional" type="way" />
     7277              <role key="under" text="ways passing under the bridge" requisite="optional" type="way" />
     7278              <role key="outline" text="way forming the outline footprint" requisite="optional" count="1" type="closedway,relation" />
     7279              <role key="edge" text="edge ways parallel to 'across'" requisite="optional" type="way" />
     7280          </roles>
     7281      </item>
     7282      <item name="Tunnel" icon="presets/tunnel.png" type="relation" preset_name_label="true">
     7283          <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Bridges_and_Tunnels" />
     7284          <space />
     7285          <key key="type" value="tunnel" />
     7286          <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
     7287          <reference ref="name_ref" />
     7288          <text key="length" text="Length (meters)" />
     7289          <text key="operator" text="Operator" />
     7290          <roles>
     7291              <role key="through" text="ways passing through the tunnel" requisite="required" type="way" />
     7292              <role key="outline" text="way forming the outline footprint" requisite="optional" count="1" type="closedway,relation" />
     7293              <role key="edge" text="edge ways parallel to 'through'" requisite="optional" type="way" />
     7294          </roles>
     7295      </item>
     7296  </group> <!-- Relations -->
    73037297</presets>