JOSM is a feature rich, extensible, offline desktop editor for OpenStreetMap (OSM) data, written in Java.
It supports loading stand-alone GPX tracks and GPX track data as well as editing existing nodes (points), ways (lines), metadata tags (name/value information) and relations (ordered sequence of points and lines) from the OSM database. GPX tracks, are usually downloaded in advance from a GPS receiver or from other sources.
This quickstart covers basic usage of the Java OpenStreetMap editor.
From the desktop, choose. When JOSM starts, it will look something like this:
Now let’s open up a sample OSM file which we will use to learn the basic ways to draw maps with JOSM. Note that this map is not real, in that it is not a real map of a real place, so we will not save it on OpenStreetMap.
Download the file here: sample.osm
Now let’s open the sample map file in JOSM. Click the “Open” button in the upper left.
Find the file sample.osm. It is probably in your Downloads folder, unless you saved it somewhere else.
Click on it, and then click “Open”. You should now see a sample map that looks like this:
You will use these data in order to try various editing techniques. You must however never upload these fictitious data to the database.
Now let’s draw a map in order to practice the techniques you have learned. You may wish to redraw the map that you drew on paper previously.
Drag the map away from the sample map. Hold the right mouse button and drag your mouse, until you have a nice empty area to draw on.
Use the Draw tool to create points, lines, and shapes. Describe what your objects are by selecting from the Presets menu.
When you are finished, you should have your own map, similar to the sample map that we opened in sample.osm.
Once you feel comfortable with these basic editing techniques you might want to turn your attention to mapping real features.
It is very important that you first remove the layer with the sample data. These data are fictitious and must not be uploaded to the OpenStreetMap database (newer JOSM releases automatically prevent this).
In the Layers window on the upper right of the screen select the sample.osm layer. Then click on the trash can icon in the lower right corner of that window. Alternatively you can choose delete from the context menu of the layer.
Try the LearnOSM documentation, from which this quickstart was derived: https://learnosm.org/en/josm/start-josm/
In order to continue editing you first need to download real data. This is explained in the next chapter: https://learnosm.org/en/josm/more-about-josm/