Changes between Version 21 and Version 22 of De:TaggingPresets


Ignore:
Timestamp:
2015-08-22T22:39:05+02:00 (10 years ago)
Author:
Klumbumbus
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • De:TaggingPresets

    v21 v22  
    1 [[TranslatedPages(revision=113,outdated=Der Abschnitt 'XML Format Beschreibung' muss noch übersetzt werden. Außerdem sollte das Beispiel geändert werden weil es für OSM ungewöhnliche Schlüssel-Wert-Kombinationen nutzt und Straßen normalerweise NICHT Einbahnstraßen sind.)]]
     1[[TranslatedPages(revision=119,outdated=Der Abschnitt 'XML Format Beschreibung' muss noch übersetzt werden.)]]
    22[[PageOutline(2-10,Inhaltsverzeichnis)]]
    33= Objektvorlagen =
     
    2020
    2121Beispiel:
    22 [[Image(wiki:TaggingPresets:tagging_screenshot.png,align=right)]]
     22[[Image(wiki:TaggingPresets:Change 1 object.png,align=right)]]
    2323
    2424{{{
    2525#!xml
    2626<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
    27   <item name="Highway">
    28     <label text="Inserting a highway in UK" />
    29 
    30     <text key="name" text="Highway (e.g. M3)" />
    31     <combo key="highway" text="Type" values="major,minor" />
    32 
    33     <!-- Highways are usually oneway -->
     27  <item name="Oneway highway" type="way">
     28    <label text="Inserting a unidirectional highway" />
     29
     30    <combo key="highway" text="Type" values="trunk,motorway" />
     31    <text key="name" text="Name (e.g. Angel Road)" />
     32    <text key="ref" text="Ref (e.g. A406)" />
     33
     34    <!-- This is a oneway preset, so make oneway default -->
    3435    <check key="oneway" text="Oneway" default="on" />
    3536
    36     <!-- Always setting class=highway -->
    37     <key key="class" value="highway" />
     37    <!-- Always setting asphalt surface -->
     38    <key key="surface" value="asphalt" />
    3839  </item>
    3940</presets>
     
    5455  * '''link''' (i18n) - web link to further details (optional)
    5556  * '''icon''' - informational icon for the whole preset. (This is nedded to display the icon in the table at [[Presets]].)
     57  * '''baselanguage''' - when the base language is not English, specify it here (using non English preset texts prevents automatic translation)
    5658
    5759  (i18n) means the values may also be localized (e.g. de.description).