[[TranslatedPages]] [[PageOutline(2-10,Table of contents)]] = JOSM presets = [[Styles(en|presets|short description|author|description|version|More details)]] == Installation == The presets listed above can be selected and activated within [wiki:Help/Preferences/Map map settings] in the JOSM preferences. == Create new presets == See [wiki:TaggingPresets] for the explanation of the syntax and more infos in case you want to create your own preset. {{{ #!comment Note for translators: - The reference below to change the source of this page should be modified, so it tells the reader to modify the English page. }}} * In order to add a new wiki based preset, simply create a new wiki page similar to the [#List existing wiki presets]. * i.e. go to http://josm.openstreetmap.de/wiki/Presets/MyPresetName (Change the URL so it matches the name of your preset. Change only the last part after `...Presets/`.) * click 'create this page' * add content similar to existing preset wikis, e.g. [wiki:Presets/OneClick] * don't forget to enclose your preset code by a code block (`#!preset` needs to be on a new line after `{{{`): * `{{{` * `#!preset` * ... * `}}}` * save the wiki page * after a few minutes the new wiki preset will show up in the list and in JOSM automatically * for automatic version adjustment you should use two internal variables: * {{{[[revision]]}}} - is the latest version number of the wiki page * {{{[[date]]}}} - is the date of the last edit * e.g. {{{"1.[[revision]]_[[date]]"}}} converts to e.g. {{{1.13_2014-02-24}}} * New externally hosted preset URLs can be entered when editing [[PresetsSource|this page]]. * **Note**: Only URLs with file-extension (e.g. *.mapcss, *.xml, *.zip, *.php) are supported. See [wiki:Styles#CreateStyle] for a description how the JOSM wiki helps to create own styles or presets and how attached files and icons are handled. == Updating presets in JOSM == Once a preset was updated in the Wiki it takes up to 10 days until the preset gets updated in JOSM automatically. To immediately force an update you can do the following steps: * Open the [wiki:Help/Action/Preferences Preferences] * Make sure [wiki:Help/ExpertMode Expert Mode] is enabled * Open the [wiki:Help/Preferences/Advanced Advanced Preferences] * Search for keys starting with: `mirror.https://josm.openstreetmap.de/josmfile?page_Presets/` * Select the preset you want to update * Click on Reset at the bottom of the window * Click on OK to save the changes (and to close the preference window) * Restart JOSM == Presets managed in JOSM wiki ==#List [[TitleIndex(Presets/)]] ---- Back to [wiki:/Help main help][[BR]] Back to [wiki:Help/Menu/Presets Presets menu]