wiki:HowTo/JOSM-under-Linux

Version 7 (modified by stoecker, 14 years ago) ( diff )

Add page translation macro

Getting the ALT key working

If your using KDE you may want to modify the ALT key behaviour Open Control Center --> Desktop --> Window Behaviour --> Actions

And change the modifier to key to something else.

Otherwise you can use right alt key (Alt Gr) only.

Java Virtual Machine

When you using Ubuntu with Gnome. You could install josm with the repositories. If you dont install java do this. Then you could start josm in the bash with the command josm. Sometimes there is a Error like this:

No valid JVM found to run JOSM.
Please install one of those mentioned in README.Debian
or set the JAVACMD environment variable prior running josm.

Then you have to make a symbolic link in the folder /usr/bin/ like this:

  sudo ln -s /usr/bin/java /usr/bin/jamvm

Then you could start josm.

Validation plugin

Ensure the validation plugin display is visible by either clicking on the Blue Check Box on the left menu or typing Alt-V to toggle the display

To validate the map you can either select individual ways by hitting the S key and clicking on the way or for multiple ways hold down the shift key while clicking on ways. Or optionally you could enter Ctrl-A to select all objects As ways are selected they will turn yellow.

To remove overlapping ways:

When you expand and highlight the over lapping nodes the over lapping ways should turn blue Hit the D key to remove the offending way

If the wrong way is deleted type ctrl-Z to undo the delete operation To switch to the the "other" way

Middle click on the blue way this will hopefully show multiply ways Hold down the ctrl key this will hold the way list open so you can release the middle mouse button Continue holding the ctrl key down and mouse over the next way description and left click on it's description Then hit the "D" key to delete the way

You may need to recreate part of the way if the overlapping way

To correct crossing ways

When you expand and highlight the crossing way nodes the crossing ways should turn into a fat yellow line. You can now zoom in to the offending area. You now need to get out of this modes Hit the S key for select and click on something else to "reset the maps" Then zoom in until the yellow highlighting disappears. Hit N for new node and click on the intersection to add a new node. A yellow dot (new node) should appear to join the ways.

When your done, don't forget to hit the Z key to get out of adding node mode.

Untagged and Unconnected Node(s)

These nodes will have a blue circle around them. When you select these nodes from the Validation Display window they will turn solid blue. You can either
Option 1: Click on Fix which will automatically delete the node
Option 2: Hit D for delete mode and then click on the node. Then click Z to enter Zoom mode

Warning If you forget to hit Z your in Delete Mode, anything you click on will be deleted

Unnamed Ways

These ways auto highlight in solid yellow, you don't need to hit the select button, just click on the node line. Although you do need to click on the select button to bring up the properties display. If the properties display is not visible enter the key stroke Alt-p to toggle the display window. Now click on the Add button, scroll down in the key drop down menu and select name, then enter the street name for the value.

Note: See TracWiki for help on using the wiki.