''If you want to learn installation steps for presets, see [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]''[[br]] ''If you want to use presets or need complete reference of presets see [wiki:Presets Presets]'' ''If you want to add the preset to the list of available presets see [[Presets#Createnewpresets]]'' [[TranslatedPages]] [[PageOutline(2-10,Table of Contents)]] = 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]. == Develop a new preset == The tagging preset description is in a very simple XML format. Details see [#XML below]. See the **[source:trunk/data/defaultpresets.xml defaultpresets.xml]** for an example covering most of the possibilities listed below. Example: [[Image(Change 1 object.png,align=right)]] {{{ #!preset }}} The tool [http://visualtags.hotosm.org/ HOT Visual Tag Chooser] allows the user to create or edit a Tagging Preset File using a web interface. == XML Format description ==#XML The full XSD schema is available at the namespace URI (http://josm.openstreetmap.de/tagging-preset-1.0) as well as [source:trunk/data/tagging-preset.xsd the source repository]. === 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 of the preset * '''version''' - the version number of the file. For automatical version adjustment of presets managed in this wiki you can use two internal variables: `[[revision]]` (the latest version number of the wiki page) and `[[date]]` (the date of the last edit). * '''description''' (i18n) - description what the file contains * '''shortdescription''' (i18n) - very short overview description i.e. the "name" of the preset * '''link''' (i18n) - web link to further details (optional) * '''icon''' - informational icon for the whole preset. (This is nedded to display the icon in the table at [[Presets]].) * '''baselanguage''' - when the base language is not English, specify it here (using non English preset texts prevents automatic translation) (i18n) means the values may also be localized (e.g. de.description). [[BR]] ==== Comments ==== :: The document can contain embedded comments. [[BR]] ==== 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, `type` and `preset_name_label` are recommended, `icon` and `name_template` are optional attributes. :: Insert a line separator into the menu. [[BR]] ==== Preset window layout ====