English | Bahasa Indonesia | 日本語 | Português | Italiano |

JOSM Plugins and Preferences

As you become more advanced in your editing techniques, you may start wondering how you can find additional JOSM features to improve your mapping skills. JOSM allows you to install numerous plugins, which are extra tools that allow you to complete specific tasks in the software. You have already installed several plugins if you have been following these tutorials. In the preceding chapter, you installed a plugin that allows you to use the SDS (Separate Data Store). Prior to that, you installed a plugin to use Walking Papers. There are many different plugins available in JOSM and we will cover some of the most useful ones in this chapter.

plug

Any time you want to install a new plugin, go to Edit —> Preferences and click on the “Plugins” tab. If you don’t see a list of available plugins, click “Download List.” You can install any plugin by checking the box next to it and clicking OK down at the bottom. When you install a new plugin, you will need to restart JOSM. By now you must be tired of restarting JOSM every time you change the settings. Luckily, our first plugin is made to restart JOSM for you!

Recommended Plug-ins:

We also recommend downloading these plug-ins, which are covered in other chapters:

  • Walking Papers
  • Buildings_tool
  • Utilsplugin2

Restart

restart

Restart does just what it says. It adds an item in the File menu that tells JOSM to restart. This can save you time when you are changing settings and need to restart the software often. But guess what! The plugin won’t be activated until you restart, so first you will need to restart JOSM manually. Once you have done this, you will see the new item on the File menu.

Try clicking “Restart JOSM” and watch the software reload on its own.

Mirrored Download

Mirrored Download will make downloading OSM data for editing faster. Instead of getting the data from the central OSM server, it allows us to get it from a “mirror,” which is an exact replica of the data but in a location that is faster to access it.

Once the plugin is installed (and you have restarted JOSM), you will see another new entry on the File Menu, “Download from OSM mirror…”

Downloading data is exactly the same process you learned before, but it can be much faster!

Direct Upload

DirectUpload uploads GPX tracks directly to OSM through JOSM (more information is available in the Appendix). Once the plug-in is installed (and you have restarted JOSM), you will see anew “Upload traces” item under the “Tools” Menu.

When you click on the “Upload Traces” button this window will pop up:

Put keywords (seperated by commas without spaces) that relate to your GPS trace in the <<Tags (comma delimited)>> box. For example, <<Country,region,city,neighborhood,road name>>. Next, provide a description of your tags. A drop-down list will allow you to reuse former tags and descriptions. Lastly, choose what type of visibility you would like your track to have. There are four levels from private to identifiable (all explained below in the [Appendix]http://rullyvm.github.com/learnosm/learnosm/en/).

Click on Upload Trace. If you are not connected to your OSM account, you will have to do it now.

Once successfully uploaded, the Text area will display an “OK” status and the “Upload Trace” button will not be clickable. More information about this plug-in and GPS uploads is available in the Appendix.

edit gpx

EditGpx allows you to prepare recorded GPX tracks before uploading them to OSM. Often tracks have parts that you would like to remove. Therefore, this plug-in delete points of tracks in a speedy manner and creates anonymity for timestamps of a track.

Once the plug-in is installed (and you have restarted JOSM), you will see this new tool in the tool bar on the left.

  1. Open a GPX file in JOSM

  2. Press the new button in the left menu bar and the GPX data will be imported to a new EditGpx layer. Every node of the track will be highlighted in yellow.

  3. Now mark the points (by clicking) or areas (by drawing a rectangle on their extent) that you would like to delete. The yellow highlighting should disappear.

  4. Right click on the layer name and choose <<Convert to GPX layer>> in the <<Context>> menu.

  5. Now you can save the normal GPX layer as a file or upload the data to OSM (eg by using the plugin DirectUpload).

Print

If you want a quick an easy way to print a map while you are editing in JOSM, install the print plugin. Although you won’t be able to do anything stylistic with your printout, this is a good way for a quick and easy print. Once the plugin is installed, a new item will be available on the File menu called “Print…”

Clicking this will open the Print Dialog, which looks like this:

Here you can change your printer settings. If you don’t see anything on the page, check the box next to “Map Preview” on the right. Zoom in or out on the map by changing the number in the “Scale” box. Increase the resolution by changing the number next to “ppi”. When you have finished editing the settings, click “Print.”

Summary

These are some useful plugins that are available for JOSM. Feel free to continue exploring the many other plugins. As you have already seen, the Preferences menu has a short description of each plugin, and you can open a web page with more information by clicking on the “More info…” link next to each.

Good luck!

Appendix

DirectUpload Details

Adding your GPS tracks and waypoints to the OSM Server is useful for many reasons. _(If you do not want your GPX points to be seen by anyone else you do not have to read this section. You can simply display your GPX files from JOSM, and therefore store them locally). First of all, GPS tracks are the most useful way of collecting and georeferencing objects in OSM. (SeeChapter6.5:AerialImageryConsiderations) GPS units have greater accuracy than satellite imagery and therefore are a useful tool for checking how offset imagery may be. Using many GPS tracks (the greater the number of tracks the greater the ability to determine geolocation accuracy) allows you to determine if background imagery may be misaligned.

Uploading tracks to the server permits greater sharing of information. It allows people who do not have access to the field, simply because they do not live in that area or they do not have access to a GPS devices, to help with digitizing. There are two ways to upload your traces: 1) JOSM Plugin or 2) on the main OSM website.

Note: GPS waypoints cannot be uploaded to the OSM database directly. However, they can be converted to tracks and then be uploaded temporarily, for example, so they can be displayed as background objects in Potlatch.

After you have opened your GPX file in JOSM and clicked Go to <<Tools>> and click <<Upload traces>>. Describe the GPX file, write some tags, and visibility. For visibility, you can choose whether private, trackable, public or identifable.

  1. Identifiable: Your trace will be shown publicly in Your GPS**traces and in the public GPS traces list. Other users can download the raw trace and connect it with your username. Timestamps of the tracks points will also be available through the public GPS API.

  2. Public: Your trace will be shown publicly in Your GPS**traces and in the public GPS traces list. Other users are still able to download the raw trace from the public trace list and any timestamps contained within. However, data shown in the API does not reference your trace page, nor are the timestamps available, though the points are chronically ordered.

  3. Trackable: The trace will not show up in any public listings, but the trackpoints will still be available through the public GPS API with timestamps. Other users will be able to download the trackpoints but these will not be associated with you.

  4. Private: The trace will not show up in any public listings. Trackpoints will be available in timeline order through the public GPS API without timestamps.

Uploading GPS Traces Online

  1. Go to http://www.openstreetmap.org/ and log in.

  2. Select <<GPS Traces>> found on the left banner.

  3. Select upload a trace. Here, you can also See just your traces to review previous GPS tracks.

  4. Find your file in <<Choose File>>. Label it in the Description box, give it some Tags, and chose what type of Visibility it will have. If you have many .gpx files you can compress them into a zip archive and upload it. It will be treated as one large gpx file and only one entry on the trace list will be created.

  5. Click Upload.

The file will be uploaded to the OSM server, where it will join the queue of files waiting to be inserted into the database.

Official HOT OSM learning materials