User:Ff5722/JOSM presets
Jump to navigation
Jump to search
How to use:
- Copy the XML code and save as text file with xml extension
- In JOSM open the presets menu and go to 'Preset preferences'
- Add new preset (next to 'active presets') and add the xml file
Add keyboard shortcut
- Open JOSM preferences (F12), under shortcuts, search the preset you added
- Uncheck 'use default' and 'disable' to set a keyboard shortcut
- Right click the menu bar > configure toolbar
- Look for the preset in the Available actions and add to toolbar
(while you have the menu open, might as well disable unused menu items)
Custom presets
Bridge with layer=1 |
<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
<item name="Bridge with layer 1" type="way">
<label text="Add bridge and layer=1" />
<key key="layer" value="1" />
<key key="bridge" value="yes" />
</item>
</presets>
|
Tunnel with layer=-1 |
<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"> <item name="Tunnel with layer -1" type="way"> <label text="Add tunnel and layer=-1" /> <key key="layer" value="-1" /> <key key="tunnel" value="yes" /> </item> </presets></syntaxhighlight> |
Mobile phone tower |
<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
<item name="Mobile phone mast" type="node">
<label text="Mobile phone mast" />
<key key="man_made" value="mast" />
<key key="tower:type" value="communication" />
<key key="communication:mobile_phone" value="yes" />
</item>
</presets>
|
Motorway link under construction |
<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
<item name="Motorway link" type="way">
<label text="Motorway link" />
<key key="oneway" value="yes" />
<key key="construction" value="motorway_link" />
<key key="highway" value="construction" />
</item>
</presets>
|