Changes between Version 160 and Version 161 of Presets
- Timestamp:
- 2020-03-19T14:15:39+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Presets
v160 v161 1 ''If you want to learn installation steps for presets, see [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]''[[br]] 2 ''If you want to extend presets with your own see - [wiki :TaggingPresets TaggingPresets]''[[br]]1 ''If you want to learn installation steps for presets, see [wikitr:/Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]''[[br]] 2 ''If you want to extend presets with your own see - [wikitr:/TaggingPresets TaggingPresets]''[[br]] 3 3 ''If you want to publish a new item to the list below - [#PublishanewAvailablepresetsitem follow the instructions below the list]'' 4 4 … … 10 10 11 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].12 1. The **Internal Preset** list, defined in [source:/trunk/resources/data/defaultpresets.xml defaultpresets.xml], is the default set of presets available in the JOSM [wikitr:/Help/Menu/Presets Presets] menu. Changes to the Internal Presets requires modification of the JOSM source code. 13 1. JOSM user-community created (and published) **Available presets**, which can be enabled through the [wikitr:/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 1. **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 [wikitr:/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 [wikitr:/TaggingPresets TaggingPresets]. 15 15 16 16 = JOSM Available presets = … … 18 18 19 19 == Publish a new Available presets item ==#Createnewpresets 20 See [wiki :TaggingPresets] for the syntax of customized preset files. Be sure to validate a preset file before publishing it!20 See [wikitr:/TaggingPresets] for the syntax of customized preset files. Be sure to validate a preset file before publishing it! 21 21 {{{ 22 22 #!comment … … 28 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/`.) 29 29 * click 'create this page' 30 * add content similar to existing preset wikis, e.g. [wiki :Presets/OneClick]30 * add content similar to existing preset wikis, e.g. [wikitr:/Presets/OneClick] 31 31 * don't forget to enclose your preset code by a code block (`#!preset` needs to be on a new line after `{{{`): 32 32 * `{{{` … … 43 43 * this is required for an automatic update within JOSM 44 44 === Externally hosted Available preset === 45 * A new externally hosted preset URLs can be published by editing [ [PresetsSource|this page]].45 * A new externally hosted preset URLs can be published by editing [wiki:PresetsSource this page]. 46 46 * **Note**: Only URLs with file-extension (e.g. *.mapcss, *.xml, *.zip, *.php) are supported. 47 47 48 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.48 See [wikitr:/Styles#CreateStyle] for a description how the JOSM wiki helps to create own styles or presets and how attached files and icons are handled. 49 49 50 50 51 51 == Updating Available presets in JOSM == 52 52 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: 53 * Make sure [wiki :Help/ExpertMode Expert Mode] is enabled54 * Open the [wiki :Help/Action/Preferences Preferences]55 * Open the [wiki :Help/Preferences/Advanced Advanced Preferences]53 * Make sure [wikitr:/Help/ExpertMode Expert Mode] is enabled 54 * Open the [wikitr:/Help/Action/Preferences Preferences] 55 * Open the [wikitr:/Help/Preferences/Advanced Advanced Preferences] 56 56 * Search for keys starting with: `mirror.https://josm.openstreetmap.de/josmfile?page_Presets/` (or `mirror.` for other external sources) 57 57 * Select the preset you want to update … … 66 66 67 67 ---- 68 Back to [wiki:/Help main help][[BR]] 69 Back to [wiki :Help/Menu/Presets Presets menu]68 Back to [wikitr:/Help main help][[BR]] 69 Back to [wikitr:/Help/Menu/Presets Presets menu]
