wiki:Presets/OneClick

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"
  author="Dirk Stöcker"
  icon="oneclick.png"
  version="2.19_2016-12-17"
  shortdescription="One click settings"
  de.shortdescription="Ein-Klick-Einstellungen"
  description="Some additional presets to use with a single click"
  de.description="Einige zusätzliche Vorlagen zur Nutzung mit einem Klick">

  <group name="One click" de.name="Ein Klick" icon="oneclick.png">
    <item name="Oneway" de.name="Einbahnstraße" icon="oneway.png" type="way">
      <key key="oneway" value="yes" />
    </item>
    <item name="Maxspeed 30" de.name="Geschwindigkeit 30" icon="30.png" type="way">
      <key key="maxspeed" value="30" />
    </item>
    <item name="Maxspeed 40" de.name="Geschwindigkeit 40" icon="40.png" type="way">
      <key key="maxspeed" value="40" />
    </item>
    <item name="Maxspeed 50" de.name="Geschwindigkeit 50" icon="50.png" type="way">
      <key key="maxspeed" value="50" />
    </item>
    <item name="Maxspeed 60" de.name="Geschwindigkeit 60" icon="60.png" type="way">
      <key key="maxspeed" value="60" />
    </item>
    <item name="Maxspeed 70" de.name="Geschwindigkeit 70" icon="70.png" type="way">
      <key key="maxspeed" value="70" />
    </item>
    <item name="Maxspeed 80" de.name="Geschwindigkeit 80" icon="80.png" type="way">
      <key key="maxspeed" value="80" />
    </item>
    <item name="Maxspeed 90" de.name="Geschwindigkeit 90" icon="90.png" type="way">
      <key key="maxspeed" value="90" />
    </item>
    <item name="Maxspeed 100" de.name="Geschwindigkeit 100" icon="100.png" type="way">
      <key key="maxspeed" value="100" />
    </item>
    <item name="Maxspeed 110" de.name="Geschwindigkeit 110" icon="110.png" type="way">
      <key key="maxspeed" value="110" />
    </item>
    <item name="Maxspeed 120" de.name="Geschwindigkeit 120" icon="120.png" type="way">
      <key key="maxspeed" value="120" />
    </item>
    <item name="Maxspeed 130" de.name="Geschwindigkeit 130" icon="130.png" type="way">
      <key key="maxspeed" value="130" />
    </item>
    <item name="Bridge" icon="presets/transport/bridge/bridge.svg" type="way">
      <key key="bridge" value="yes" />
      <key key="layer" value="1" />
    </item>
    <item name="Tunnel" icon="presets/transport/passage/tunnel.svg" type="way">
      <key key="tunnel" value="yes" />
      <key key="layer" value="-1" />
    </item>
    <item name="Culvert" ru.name="Водопропускная труба" icon="presets/transport/passage/tunnel_culvert.svg" type="node,way">
      <key key="tunnel" value="culvert" />
      <key key="layer" value="-1" />
    </item>
    <item name="Traffic Signal" icon="presets/vehicle/traffic_signals.svg" type="node">
      <key key="highway" value="traffic_signals" />
    </item>
    <item name="Pedestrian Crossing" icon="presets/vehicle/crossing.svg" type="node">
      <key key="highway" value="crossing" />
    </item>
    <item name="Post Box" icon="presets/service/post_box.svg" type="node">
      <key key="amenity" value="post_box" />
    </item>
    <item name="Telephone" icon="presets/service/telephone.svg" type="node">
      <key key="amenity" value="telephone" />
    </item>
    <item name="Recycling Container" icon="presets/service/recycling/recycling_container.svg" type="node,closedway">
      <key key="amenity" value="recycling" />
      <key key="recycling_type" value="container" />
    </item>
  </group>
</presets>

Presets_OneClick-preset.xml, Presets_OneClick.zip

Last modified 7 months ago Last modified on 2016-12-17T13:48:12+01:00

Attachments (15)

Download all attachments as: .zip