Changes between Version 154 and Version 155 of Presets


Ignore:
Timestamp:
2018-07-01T21:15:45+02:00 (6 years ago)
Author:
Skybunny
Comment:

Added an explanation of what presets are, and some syntax for the types of presets you can import into JOSM

Legend:

Unmodified
Added
Removed
Modified
  • Presets

    v154 v155  
    11''If you want to learn installation steps for presets, see [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]''[[br]]
    22''If you want to extend presets with your own see - [wiki:TaggingPresets TaggingPresets]''[[br]]
    3 ''If you want to extend list below - [#Createnewpresets follow instructions below the list]''
     3''If you want to publish a new item to the list below - [#PublishanewAvailablepresetsitem follow the instructions below the list]''
    44
    55[[TranslatedPages]]
    66[[PageOutline(2-10,Table of contents)]]
    77
    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
     11There are three types of Presets available to you in JOSM. Adding or removing any of these items requires restarting JOSM.
     121. 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.
     132. 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.
     143. **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 =
    917[[Styles(en|presets|short description|author|description|version|More details)]]
    1018
    11 == Create new presets ==
    12 See [wiki:TaggingPresets] for the explanation of the syntax and more infos in case you want to create your own preset.
     19== Publish a new Available presets item ==
     20See [wiki:TaggingPresets] for the syntax of customized preset files. Be sure to validate a preset file before publishing it!
    1321{{{
    1422#!comment
     
    1624 - The reference below to change the source of this page should be modified, so it tells the reader to modify the English page.
    1725}}}
     26=== JOSM wiki Available preset (preferred method) ===
    1827* In order to add a new wiki based preset, simply create a new wiki page similar to the [#List existing wiki presets].
    1928 * 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/`.)
     
    3140  * {{{[[date]]}}} - is the date of the last edit
    3241  * 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]].
    3444 * **Note**: Only URLs with file-extension (e.g. *.mapcss, *.xml, *.zip, *.php) are supported.
    3545
     
    3747
    3848
    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 ==
     50Once 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
    4152* Open the [wiki:Help/Action/Preferences Preferences]
    42 * Make sure [wiki:Help/ExpertMode Expert Mode] is enabled
    4353* Open the [wiki:Help/Preferences/Advanced Advanced Preferences]
    4454* Search for keys starting with: `mirror.https://josm.openstreetmap.de/josmfile?page_Presets/` (or `mirror.` for other external sources)
     
    4959
    5060
    51 == Presets managed in JOSM wiki ==#List
     61== Available presets managed in the JOSM wiki ==#List
    5262[[TitleIndex(Presets/)]]
    5363