wiki:Presets/OneClick

Version 26 (modified by Sosha, 7 years ago) ( diff )

frist preset

One click presets

The default presets of JOSM have grown over time and become more and more complicated. But in some situations the whole power is not needed.

The following is a set of presets which are used with a single click when stored in the toolbar. All of these don't open the preset dialog, but immediately set the required keys and values.

Specify the locations for Preset OneClick icons in the dialog at Edit / Preferences / Map Settings / Tagging Presets tab / Icon paths.

See also

The preset itself

<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
  <item name="Oneway highway" type="way">
    <label text="Inserting a unidirectional highway" />

    <combo key="highway" text="Type" values="trunk,motorway" />
    <text key="name" text="Name (e.g. Angel Road)" />
    <text key="ref" text="Ref (e.g. A406)" />

    <!-- This is a oneway preset, so make oneway default -->
    <check key="oneway" text="Oneway" default="on" />

    <!-- Always setting asphalt surface -->
    <key key="surface" value="asphalt" />
  </item>
</presets>

Presets_OneClick-preset.xml, Presets_OneClick.zip

Attachments (15)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.