Memulai JOSM
How to download and install JOSM, the Java OpenStreetMap editor, change some of the settings, open a sample map and learn some of the basic operations of the software. Remember in the introduction chapter when we asked you to draw a map of your town or village? We will conclude this chapter by drawing your map again, this time digitally. After this you should have a good understanding of how to draw maps in JOSM.
Download JOSM
- If you have a copy of JOSM on a CD or usb flash drive, you can skip to the next section, Install JOSM.
- If you don’t have JOSM already, or want the newest version, open your web browser - this may be 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 the JOSM website by searching the internet for “JOSM”.
-
The website should look something like this:

-
If you have Windows installed on your computer, click “Windows Installer” to download JOSM.

- If you have a different operating system, click on the link for your system. Your download should begin. In this chapter we will assume that you are using Windows, but the instructions are similar for other operating systems.
Install JOSM
You may have problems installing JOSM if Java is not already installed on your computer. If you have problems in this section, try downloading and installing Java. You can download it here: http://www.java.com/en/download/
Mac users may have old versions of Java. Please see http://wiki.openstreetmap.org/wiki/JOSM/Mac#Installation for options for OSX 10.6 and 10.7.3+
Pengaturan JOSM
There are many different settings that you can customize in JOSM. One setting that you may want to adjust is the language. JOSM has been translated into numerous languages, and you may prefer to work in a different one.
-
To access the Preferences window, click Edit -> Preferences.

- On the left side, click the icon that looks like a paint can and paint brush.
- At the top of the window, click the tab that says “Look and Feel”.
-
Choose your language in the dropdown box next to the word “Language”.

- Click OK.
- You need to restart JOSM to save your settings. Click “File” in the upper left corner, and Click “Restart” near the bottom of the menu.
Belajar Dasar-Dasar Menggambar menggunakan JOSM
Pengoperasian Dasar
- 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 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. There is a river, a forest, some buildings, several roads, and a couple of shops. To select an object, click on it with your left mouse button.
Titik, Garis, dan Poligon
- As you click different objects on the sample map, notice that there are three different types of objects on the map. There are points, lines, and shapes.
- Points are a single location, represented by symbols. On this sample map, there are two points, a shoe shop and a supermarket. The shoe shop is represented by a shoe symbol, and the market is represented by a shopping cart.
- There are several lines on the map as well, which represent roads. If you look closely you will see that within the lines, there are points as well. These points don’t have any symbols or other information associated with them, but they help to define where the line is located.
- Lastly, there are numerous shapes on the sample map, representing different places - a forest, a river, a park, and buildings. A shape is used to represent an area, like a field or a building. A shape is exactly like a line - the only difference is that the line begins at the same point where it ends.
Sangat mudah untuk berfikir bahwa sebuah peta terdiri dari ketiga tipe objek dasar -
titik, garis, dan poligon. Di OpenStreetMap terdapat terminologi khusus
dimana Anda akan memahaminya seiring Anda berproses. Di OSM, titik biasanya disebut
nodes, dan garis disebut ways. Poligon disebut closed way
karena poligon sebenarnya adalah garis yang tertutup di titik awal dan akhir garisnya.
- You may notice that when you select an object, a list appears to the right of the map in a window called “Properties”. These are known as tags. Tags are information that is tied to a point, line or shape that describes what it is. We’ll learn more about tags in a later chapter. 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?
Mengubah Objek
- Select the forest on the left side of the map. Be sure to click on the line around the forest, not one of the points on the line. Now hold your left mouse button down and drag your mouse. You should be able to move the forest to a new location on the map.
- Click on one of the points on the line around the forest. Hold your left mouse button down and drag your mouse. You should be able to move the point. This is how you can change the shape of an object, or move a point.
Menggambar
- On the left side of 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 what you can do with your mouse.
- The top buttons in this column are the ones you will use the most. They are used for selecting objects and for drawing new ones.
-
Until now, you have been using the Select tool, which looks like this:

- Before you draw, you need to make sure that nothing is selected. Click in the black space on the map, where it is empty, to make sure nothing is selected.
-
Click on the second button, the Draw tool.

- Find an empty area on the map, and double-click with your mouse. This will draw a single point.
- To draw a line, single-click with your mouse. Move your mouse and click again. Continue until you are happy with your line. To end the line, double-click your mouse.
- Draw a shape the same way that you draw a line, but finish the shape by double-clicking on the point where you started the line.
Menambahkan Preset
Menggambar Peta Anda Sendiri
- 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.
Remove the sample layer
Ketika Anda telah menguasai teknik dasar editing Anda mungkin ingin
lebih fokus untuk memetakan objek nyata.
It is very important that you first remove the layer with the sample data.
Data-data ini adalah data fiktif dan tidak diperbolehkan untuk diupload ke database
database (newer JOSM releases automatically prevent this).
Di jendela Layer di sebelah kanan atas layar pilih layer sample.osm.
Lalu klik tombol dengan gambar tempat sampah di sebelah kanan bawah jendela tersebut.
Sebagi alternatif Anda dapat menghapus menggunakan context menut di bagian layer.
Untuk melanjutkan editing Anda perlu mendownload data asli.
Hal ini akan dijelaskan di bab berikutnya.
Ringkasan
Luar biasa! Jika segalanya berjalan baik Anda telah berhasil mempelajari bagaimana melakukan pengatran JOSM di
komputer Anda, dan alat-alat dasar untuk menggambar peta. Di bab selanjutnya kita akan
melihat lebih dekat pada proses editing peta OSM menggunakan JOSM.
|