Kaart: Miscellaneous JOSM Tools/Items/sandbox

Introduction
There are a variety of tools in JOSM that can be used to help with mapping. Some of these are more advanced features while others are things that are important to know.
Prerequisites
You will need:
- JOSM installed/updated
- Updated plugins
- OSM account
Skill Instruction
Locking Layers(Making a Sandbox)
Sandboxes are a useful learning tool that can help an editor practice different editing techniques, complex tagging, etc. all from the safety of a controlled environment. Making a quality sandbox takes practice.
Here are some things to keep in mind when making a sandbox:
- What's the editing focus? Geometry, relations, tagging, etc.
- How much data do you need in your sandbox for it to work correctly?
- Relations like routes may require more data whereas POIs don't need as much.
To make a sandbox:
- Find the data you want to use for your sandbox in JOSM.
- Create a New layer
- Download the sandbox area in your new layer. You can use the download in current view or define a bounding box to select the desired area.
- Whatever you download will be part of your sandbox.
- Modify the data as needed to set the stage for your sandbox.
- Right click on your sandbox layer and select discourage upload.
- Right click on your sandbox layer and select Save As.
- Give it a name and make sure the file extension is
.osmand that it is saved in an easily accessible location on your computer.
- Give it a name and make sure the file extension is
- Find your sandbox on your computer and open it in a text editing platform like TextEdit(Mac) or Notepad(Windows).
- Look for
upload='false'in the first couple lines of the code and change it from false to never so it reads:upload='never'. - Save your changes and close the text editor.
insert images
- Now open your sandbox in JOSM to test it.
- Edit a feature and attempt to upload--The upload button should be disabled.
- Create an answer key version of your sandbox showing the correct tags or final outcome.
Remember to clearly label your sandbox and answer files so users know which is which.
Saving a Session in JOSM
insert image
In some cases you may want to save a session that you are working on to edit later. You can do this with the hotkey Option/Alt + CMD/Ctrl + S or by clicking the button on the menu (File→Save Session). This will preserve layers and edits that have not been published yet to work on at another time.
When you do reload your saved session, make sure to update your dataCMD/Ctrl + U to check for conflicts. This is especially important in areas that are being consistently updated.
Tag Multiple Objects Tool
The tag multiple objects tool CMD/Ctrl + T is a great tool for editing separate tags for multiple objects. It allows you to search for multiple tags and compare their values side by side and edit those values. This tool is part of the utils2 plugin and has a few different functions that we'll cover here.
insert image
How to Use
Before you use this tool you'll want to keep these things in mind:
- What tags do you need to edit?
- What kind of features have these tags?
- Would filters help narrow down your search results?
- If you use
CMD/Ctrl + Ato select all this will also include features without tags.
This tool takes some practice to use efficiently so be patient and take your time when editing with this tool.
| Some of the functions include: | |
| How to add tags for comparison |
|
| insert image | |
| There are buttons for node, way, relation, area and multi-polygon |
|
| insert image | |
| How to sort the values for a specific tag |
|
| insert image | |
| How to view/edit a feature(s) |
|
| insert image | |
Finding Imagery Dates
Obtaining the imagery dates within JOSM and ID is possible, but you should be aware that this information is not always available. Some imagery sources will provide you with the date it was captured while in others cases it will provide the date it was made available for use which can be years apart from each other. Keep this in mind when deciding which imagery is the most up-to-date in a given area.
JOSM
In JOSM you will need to first add one or more imagery sources.
To find the imagery date:
- Right click on the imagery
- Open the setting for the desired imagery source
- Click on Show tile info
- This will bring up a popup with various information about the imagery source including when it was captured(if available).
insert images
ID Editor
To find the imagery date:
- Select the imagery source you want to use then click on the Show Background Panel or use
CMD/Ctrl + Shift + Bthen click on Show Tiles.- Each tile within OSM will now have a vintage date associated with it. Keep in mind that this won't always be available.
insert images