Changes between Version 21 and Version 22 of De:TaggingPresets
- Timestamp:
- 2015-08-22T22:39:05+02:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
De:TaggingPresets
v21 v22 1 [[TranslatedPages(revision=11 3,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.)]] 2 2 [[PageOutline(2-10,Inhaltsverzeichnis)]] 3 3 = Objektvorlagen = … … 20 20 21 21 Beispiel: 22 [[Image(wiki:TaggingPresets: tagging_screenshot.png,align=right)]]22 [[Image(wiki:TaggingPresets:Change 1 object.png,align=right)]] 23 23 24 24 {{{ 25 25 #!xml 26 26 <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 --> 34 35 <check key="oneway" text="Oneway" default="on" /> 35 36 36 <!-- Always setting class=highway-->37 <key key=" class" value="highway" />37 <!-- Always setting asphalt surface --> 38 <key key="surface" value="asphalt" /> 38 39 </item> 39 40 </presets> … … 54 55 * '''link''' (i18n) - web link to further details (optional) 55 56 * '''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) 56 58 57 59 (i18n) means the values may also be localized (e.g. de.description).
