Why not ask your question on the new OpenStreetMap Community Forum?

Hi !

Is possible to make preset button to be filled with my values and pin on toolbar ? Expecting that values will be prefilled next time when button hit.

asked 13 Jul '14, 12:29

pschonmann's gravatar image

accept rate: 0%

You can add multiple key & value pairs in the XML file of the preset.

I added key1 & key2 as given below in the "Crafts" preset downloaded from https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&preset

<item name="beekeeper" de.name="Imker" fr.name="Apiculteur">
    <key key="craft" value="beekeeper" />
    <key key="key1" value="value1" />
    <key key="key2" value="value2" />

Selected a POI, pressed F3 and selected beekeeper and all the 3 key value pair were added to the POI.

Alternatively you can copy the tags from a text file and paste them into a POI. You need to have the tags and their values something like this:


Copy these text and paste it into the POI using Ctrl-Shift-V.
Hope this helps.

permanent link

answered 13 Jul '14, 18:28

BlueTiger's gravatar image

accept rate: 30%

Yes it's possible to add presets to your toolbar, but I'm not sure if they are expended by all previous values etc:

You might also use F3 key, as the list is ordered by your editing history, so most recent preset comes first.
Also sometimes it's useful to add an object with all tags and then just using D key to dublicate the object. So you need just to adapt very few tags.

permanent link

answered 13 Jul '14, 13:40

iii's gravatar image

accept rate: 10%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 13 Jul '14, 12:29

question was seen: 3,614 times

last updated: 13 Jul '14, 18:28

powered by OSQA