We will now learn how to download and install JOSM step-by-step. JOSM is the Java OpenStreetMap editor, a full-feature desktop editor. When using iD Editor we always have be connected to the internet, while in JOSM we can use it offline or with an intermittent internet connection.
In this module, we will also change some JOSM settings that will help us in using JOSM. We will then open a sample map and learn some basic operations of this software. Recall in the introduction module, you were asked to draw a map of the city or region around the neighborhood where you live. We will draw it again in this module, but we will draw it digitally using JOSM. After learning this chapter, you will have a good comprehension of how to map using the JOSM editor.
If you have a copy of the JOSM installation file on a CD or flashdisk, you can skip to the next session on JOSM installation. If you do not have the JOSM installation package or you want the newest version of JOSM, you can open your web browser (using Firefox, Chrome, Opera or Internet Explorer). In the address bar at the top of the window, enter the following text and press enter: josm.openstreetmap.de. You can also find JOSM site by searching for “JOSM” using your favorite search engine. The JOSM site will look much like the figure below:
Select the installation file according to your computer’s operating system. If you are using a computer with Windows Operating System, click Windows installer to download JOSM. If you have other operating systems, click on the link that corresponds to your computer’s operating system and download the installation package. In this module, we assume you are using Windows, but the instructions will be similar for other operating systems.
Once the JOSM installation package has downloaded, we will install onto our computer or laptop. Here are the steps for installing JOSM:
problems during the installation in this section, try to download and install Java. You can download here: www.java.com/en/download/
When the first time you open JOSM, you might see a window appears there ask to update the software. You do not need to update it because you just downloaded a new software. Cancel button. If you don’t want to see this message anymore, check a box below before clicking “Cancel”.
JOSM used in this module is the newest version from the site. The display version could possibly change if you are using another JOSM version.
There are many settings that you can adjust in JOSM. One of settings you might want to adjust is the local JOSM language. JOSM has been localized with many language options, and you should choose the language that you want.
After changing the language we also need to enter the username and password of our OSM account in JOSM. This will be useful when we edit or add data on the OSM map, the server will recognize that the edits belong to a registered user. If you do not add your account information, you will not be able to upload data into OpenStreetMap. Here are the steps to add your account information:
By now you should have entered your account name. Next is to configure JOSM by adding menu presets. What are menu presets? Menu presets are small files added to JOSM that can pre-supply the attribute fields for mapping features, such as name and address for a building, or street name for a road. If you are still a bit confused about presets, follow along and you. To add menu presets, follow these steps:
If you already have your own presets file on your computer, you can insert it directly:
Now we will try to add a plugin in JOSM. A plugin is a tool that we can add it as an extension in JOSM to help us during editing. Here are the steps to add plugin in JOSM:
Remote Control in JOSM needs to be set in order for other sites, such as the HOT Tasking Manager to access your OpenStreetMap account and enable editing. To activate the remote control function:
We will want to use satellite imagery as a background to identify features and trace them when making our map, so let’s add imagery from the Preference window.
At this point, you’ve should have learned to customize and pre-configure the basic settings in JOSM, and now you’re ready to edit the map. In this chapter, we turn attention to the important parts of the JOSM editor and how to use them. The figure below shows the essential parts of the JOSM interface.
The main window, as you have seen earlier, -is the map area, and where most of the editing activity takes place. Here you will view, interrogate, edit, and add data to OpenStreetMap.
To the right of the map area are stacked panels, each having a dedicated function. Usually when the first time you install JOSM, several panels that will be displayed with the default settings, such as Layers, Properties, and Selection. When you select a node, way, or polygon in map area, it’ll be displayed on Selection panel. Information about the object will be displayed on Properties panel, and username of the object author will be displayed on Author panel.
To the left of the map area is a vertical toolbar, each icon corresponds to an editing function (see ‘Tools’ in figure above). For example, there are buttons for editing such as Select object(s) tool and Draw nodes tool. Other tools depicted in the above example include icons for deleting an object, drawing a polygon, and creating a way that is parallel to the other ways.
Let’s start by opening 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.
To move the map left or right, up or down, hold your right mouse button down, and move your mouse.
There are several ways to zoom in and zoom out of the map. If you have a mouse, you can use your scroll wheel to zoom in and out. If you are using a laptop and don’t have a mouse, you can zoom in and out using the scale bar in the upper left of the map window. Drag the bar left and right by holding your left mouse down and moving the bar left or right with your mouse.
Look at the sample map. There a few different types of objects here. For example, there is a river, a forest, some buildings, several roads, and a couple of shops. Select an object by clicking on it with your left mouse button. Click on each of these objects and note the information in the panels on the right.
As you click different objects on the sample map, notice that there are three different types of objects on the map. There are nodes, ways, and polygons.
It’s easy to think about the map that contains three basic types of objects - points, lines, and polygons. OpenStreetMap contained in specific terms that you will learn as you progress. In OSM, a point called node, and lines are ways. Polygon called closed way because this is just a line that starts and ends at the same point.
You may notice that when you select an object, it will be highlighted in red and a list appears to the right of the map in a window called “Properties”. These are known as tags and are depicted in the figure below.. Tags are attributes of the selected point, line or polygon that identify and describe that feature. But for now, all you need to know is that this information helps describe whether our object is a forest, a river, a building, or something else. Think about drawing a map by hand, and how you are also drawing points, lines, and shapes. What other places are best represented by points? Lines? Shapes?
On the left side of a JOSM is a column of buttons. Many of these buttons open new windows on the right side that provide more information about the map. The most important buttons, however, are at the top of these column. These buttons change the operations you do with your mouse.
Now we know how to draw points, lines and shapes, but we still haven’t defined what they represent. We want to be able to say that our points are shops, schools, or something else, and whether our shapes are fields, buildings, or something else. To provide information on the objects that we create or edit we need to include presets in the object. Here are the steps: