Changes between Version 154 and Version 155 of Presets
- Timestamp:
- 2018-07-01T21:15:45+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Presets
v154 v155 1 1 ''If you want to learn installation steps for presets, see [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]''[[br]] 2 2 ''If you want to extend presets with your own see - [wiki:TaggingPresets TaggingPresets]''[[br]] 3 ''If you want to extendlist below - [#Createnewpresetsfollowinstructions below the list]''3 ''If you want to publish a new item to the list below - [#PublishanewAvailablepresetsitem follow the instructions below the list]'' 4 4 5 5 [[TranslatedPages]] 6 6 [[PageOutline(2-10,Table of contents)]] 7 7 8 = JOSM presets = 8 = What are presets? = 9 **Presets** in JOSM are menu-driven shortcuts to tag common object types in OpenStreetMap. They provide you with a user friendly interface to edit one or more objects at a time, suggest additional keys and values you may wish to add to those objects, and most importantly, prevent you from having to enter keys and values by hand. 10 11 There are three types of Presets available to you in JOSM. Adding or removing any of these items requires restarting JOSM. 12 1. The **Internal Preset** list, defined in [https://josm.openstreetmap.de/browser/trunk/data/defaultpresets.xml defaultpresets.xml], is the default set of presets available in the JOSM [https://josm.openstreetmap.de/wiki/Help/Menu/Presets Presets] menu. Changes to the Internal Presets requires modification of the JOSM source code. 13 2. JOSM user-community created (and published) **Available presets**, which can be enabled through the [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]. The full list of these Available presets, and how to publish a new one you create, appears below. 14 3. **Custom Tagging Presets** files, for cases where you want to use customized Presets but they are not published to JOSM as an Available preset. Customized presets can be added through the [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings] menu, either by URL, or by filename on your local filesystem. The format of a Custom Tagging Presets .xml file appears at [wiki:TaggingPresets TaggingPresets]. 15 16 = JOSM Available presets = 9 17 [[Styles(en|presets|short description|author|description|version|More details)]] 10 18 11 == Create newpresets ==12 See [wiki:TaggingPresets] for the explanation of thesyntaxand more infos in case you want to create your ownpreset.19 == Publish a new Available presets item == 20 See [wiki:TaggingPresets] for the syntax of customized preset files. Be sure to validate a preset file before publishing it! 13 21 {{{ 14 22 #!comment … … 16 24 - The reference below to change the source of this page should be modified, so it tells the reader to modify the English page. 17 25 }}} 26 === JOSM wiki Available preset (preferred method) === 18 27 * In order to add a new wiki based preset, simply create a new wiki page similar to the [#List existing wiki presets]. 19 28 * i.e. go to https://josm.openstreetmap.de/wiki/Presets/MyPresetName (Change the URL so it matches the name of your preset. Change only the last part after `...Presets/`.) … … 31 40 * {{{[[date]]}}} - is the date of the last edit 32 41 * recommended usage: {{{"1.[[revision]]_[[date]]"}}} (converts to e.g. {{{1.13_2014-02-24}}}) 33 * New externally hosted preset URLs can be entered when editing [[PresetsSource|this page]]. (JOSM wiki based Presets (see above) is the preferred method.) 42 === Externally hosted Available preset === 43 * A new externally hosted preset URLs can be published by editing [[PresetsSource|this page]]. 34 44 * **Note**: Only URLs with file-extension (e.g. *.mapcss, *.xml, *.zip, *.php) are supported. 35 45 … … 37 47 38 48 39 == Updating presets in JOSM == 40 Once a preset was updated in the wiki (or another external source) it can take up to 10 days until the preset gets updated in JOSM automatically. To immediately force an update you can do the following steps: 49 == Updating Available presets in JOSM == 50 Once an Available preset is published, it can take up to 10 days until the item appears in JOSM automatically. To immediately force an update you can perform the following steps: 51 * Make sure [wiki:Help/ExpertMode Expert Mode] is enabled 41 52 * Open the [wiki:Help/Action/Preferences Preferences] 42 * Make sure [wiki:Help/ExpertMode Expert Mode] is enabled43 53 * Open the [wiki:Help/Preferences/Advanced Advanced Preferences] 44 54 * Search for keys starting with: `mirror.https://josm.openstreetmap.de/josmfile?page_Presets/` (or `mirror.` for other external sources) … … 49 59 50 60 51 == Presets managed in JOSM wiki ==#List61 == Available presets managed in the JOSM wiki ==#List 52 62 [[TitleIndex(Presets/)]] 53 63
