This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

[closed] How do I store keys/values in JOSM?

1

I have been adding some postboxes lately and I like how JOSM learns the keys and values that I enter. e.g. post_box:type=pillar,lamp,etc., royal_cypher=VR, EIIR, etc,. After entering a few, it is easy to pick the right tag from the drop down list. However, next time I start up JOSM, it has forgotten all the tags that I entered last time and I need to start again with the less common ones. Can I make JOSM store these values?

asked 15 Nov '15, 22:51

Hobgoblin's gravatar image

Hobgoblin
151347
accept rate: 0%

closed 03 Dec '15, 20:33

The question has been closed for the following reason “The question is answered, right answer was accepted” by Hobgoblin 03 Dec ‘15, 20:33


3 Answers:

5

While Simon's idea to use custom presets is perhaps the best way to enhance your JOSM experiences, it might be a bit intimidating.

But you can remember the keys over a restart. See the instructions on the Add Value Dialog.

Right-click on the dialog and check the "Remember last used tags" flag.

p.s. I can't remember I did it like this, I probably switched one of the variables in the settings pane under preferences by hand.

answered 16 Nov '15, 09:46

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

edited 16 Nov '15, 09:48

4

You can simply create a preset for the specific tags if none already exists, see:

https://wiki.openstreetmap.org/wiki/Customising_JOSM_Presets

and

https://josm.openstreetmap.de/wiki/TaggingPresets

answered 15 Nov '15, 23:17

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 15 Nov '15, 23:18

0

Yet another option (not exactly using JOSM) - key value pairs.

Save required tags and their values in a text file as follows:

post_box:type=pillar
royal_cypher=VR
tag3=value3

When you want to apply one of these tags, copy them and paste into the POI using the shortcut ctrl+shift+v

answered 16 Nov '15, 18:18

BlueTiger's gravatar image

BlueTiger
4665822
accept rate: 30%

edited 16 Nov '15, 18:19

Source code available on GitHub .