OpenStreetMap

Re-learning JOSM :: Installation

Posted by alexkemp on 10 March 2019 in English (English)

The Operating System (OS) is different on my computer now from when I last used JOSM, so it had to be installed from scratch. Here is a bunch of stuff that should be useful if you need to install JOSM:–

  1. JOSM == “Java OpenStreetMap Editor”
  2. JOSM Wiki
  3. Available for Windows, Linux, and macOS
    (you are strongly advised to use a desktop machine with a large display)
  4. Install instructions

The following will be install instructions for Devuan / Debian / Ubuntu:–

This is my OS:–

$ lsb_release -da    
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 2.0 (ascii)
Release:	2.0
Codename:	ascii
  1. Linux install instructions
  2. JOSM requires a minimum of Java r8
    (ascii comes with r8 by default; I use openjdk java without any problems)

     $ update-alternatives --list java    
     /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
    
  3. Create a new repository
    (use the following one-liner)

     echo deb https://josm.openstreetmap.de/apt alldist universe universe | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     $
     $ cat /etc/apt/sources.list.d/josm.list
     # 'ascii' does not work in next line, hence 'alldist'
     deb https://josm.openstreetmap.de/apt alldist universe
    
  4. Install the JOSM key (another one-liner)

     $ wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo apt-key add -
    
  5. Now update
    (either this or use synaptic)
    (be warned: JOSM gets updated almost every day)

     $ sudo apt-get update ; sudo apt-get install josm
    
  6. Launch JOSM via menu | Education
     
    (at first launch install / update the Plugins; use Global Preferences (f12) | Plugins)
    (fwiw these are the ones I have installed):–

    apache-commons    
    apache-http    
    buildings_tools    
    continuousDownload    
    DirectUpload    
    jna    
    Mapillary    
    terracer    
    waydownloader    
    
  7. Add UK postcodes via raggedred.net

    a. Go to Global Preferences (f12) | Imagery Preferences | Imagery Providers
    b. Add at the bottom:
    Menu Name: “Postcode (from raggedred.net)”    
    Imagery URL: “tms:http://www.raggedred.net/tiles/codepoint/{zoom}/{x}/{y}.png”
    c. Press OK
    

Login to leave a comment