[[TranslatedPages(outdated=This page needs better links and more information for general users. The developing part should go into some subpage)]] = Tagging Presets = JOSM supports distributed tagging presets. This is a XML config file that describes a GUI for entering tags (or properties, annotations, sometimes called map features). The XML files can be placed anywhere in the web or at the users local file system. Presets can be added by the users at a central page [wiki:Presets]. == Install existing presets == Open [[Help/Action/Preferences]], click [[Image(source:trunk/images/dialogs/mappaintpreference.png)]], select the tab **Tagging Presets**. Then add **available presets** using [[Image(source:trunk/images/preferences/activate-right.png)]], or include a local preset by clicking on [[Image(source:trunk/images/dialogs/add.png)]]. Adding presets requires a restart of JOSM. Then the tagging presets can be selected from the [wiki:Help/Menu/Presets main menu]. They can also be added to the toolbar under [wiki:Help/Preferences/Toolbar Toolbar Customization]. [[Image(TaggingPresets.png)]] ---- == Develop a new preset – Example == [[Image(tagging_screenshot.png,align=right)]] {{{ #!xml }}} == Develop a new preset – Add to the list of available presets == See [[Presets]]. == Develop a new preset – XML Format description == The tagging preset description is in a very simple XML format. See the comment section in **[source:trunk/data/defaultpresets.xml defaultpresets.xml]** for the **valid format description**. ---- == Develop a new preset – XML Format description (outdated!) == === Tags === The document prolog: '''''':: Has to be the main tag of the file. Supports following attributes * '''xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"''' * '''author''' - the name of the author * '''version''' - a version of the file * '''description''' (i18n) - description what the file contains * '''shortdescription''' (i18n) - short overview description * '''link''' (i18n) - web link to further details Comments: '''''':: The document can contain embedded comments. Menu creation: '''''':: Used to group items in sub menus. ''name'' is required, ''icon'' is optional attribute. '''''':: Every item is one annotation set to select from. ''name'' is required, ''icon'' is optional attribute. '''''':: Insert a line separator into the menu. Create instructions for the user: '''