OpenStreetMap logo OpenStreetMap

josmeditor's Diary

Recent diary entries

Hi all,

Due to the planned removal of the JavaScript engine Nashorn from Java, we have to take action. Nashorn was in use for three features of JOSM core:

  1. opening_hours validator based on opening_hours.js
  2. overpass-wizard (in download dialog)
  3. JavaScript API of JOSM configuration XML files

Item 1 has been resolved by migrating to OpeningHoursParser written by Simon Poole for Vespucci.

For item 2, we plan to use a hosted service (likely on the JOSM server) for turning user input into Overpass Queries.

For item 3, we don’t see a viable alternative. We plan to remove this feature with the next JOSM release unless someone steps up with a killer-user-case and migration plan.

Please share your feedback, if any, on the josm-dev mailing list.

Thanks for reading and happy mapping,

Simon (simon04) and Vincent (Don-vip) for the JOSM team

don-vip speaking, originally from JOSM Twitter account:

I read many incorrect statements about the new Java license from Oracle on the German OSM forum mentioned in weeklyOSM 458. Let’s see in detail what all is this about.

First of all, a little bit of history/terminology. Java was created in 1995 by Sun. We call “Java” both the programming language and the platform that runs JOSM (JRE = Java Runtime Environment). Several platforms, from multiple vendors, exist.

The JDK (Java Development Kit) contains the JRE but also developer tools (mainly, the java compiler). In 2006, around the release of Java 6, Sun announced its intention to open-source Java in a new project: OpenJDK.

OpenJDK is badly named, like OpenStreetMap. We don’t only map streets… Well OpenJDK project does not only concern the JDK but the whole Java platform (language, spec, tools, APIs, etc.). @speakjava explains it nicely.

Sun open sourced many things from Java into the OpenJDK project, but not all things. In particular, Windows/Mac installers and deployment technologies like WebStart were not open sourced (we don’t know why).

It means OpenJDK is only a “source code” project. Building it is very complex, and nobody took the pain to distribute free binaries for Windows & Mac. Only Red Hat did it for Linux in the IcedTea project. If you have 100% free Java on Linux, it’s thank to them.

In 2009 Oracle bought Sun. They didn’t change things radically until recently. So even today most of Windows and Mac users are still using proprietary JRE binaries from Oracle, that are built upon open source project OpenJDK.

Oracle made a very good job in releasing Java 8 in 2014, then Java 9 in 2017. We even collaborated with them in mutual good faith. Then, all hell broke loose.

They changed the Java release cycle to to a fixed 6 months schedule (2 versions per year). We are now at Java 12 (which is by the way the most unimpressive version of Java: nothing new in it).

See full entry

Today we reached the 10,000th commit in JOSM source code repository, suddenly adding a 5th digit to our version number!

This symbolic milestone occurs a few weeks after the 10th birthday of JOSM 1.0, which was released on January 22nd, 2006 (yep, back in time, JOSM used real version numbers. The current versioning scheme was introduced in early 2008 for practical reasons). If you’re curious about how many versions of JOSM have been released since, check out the release log.

To celebrate these two events, we have “rebuilt” JOSM development history by using a nice open source tool (SonarQube). You can check the results here.

This allows to see how JOSM evolved over time. For example, how the source code increased: Lines of code Lines of code

Each dot represents a tested version.

See full entry

February release delayed

Posted by josmeditor on 24 February 2015 in English.

The February release is delayed a few days until we clarify a certificate problem with OpenStreetMap Foundation.

What could help us: if you are a StartSSL customer (or know one), please ask them when they intend to be included in Java list of Root Certificate Authorities.

The goal is to be able to keep HTTPS access to the OSM API and website, for old and new versions of JOSM.

JOSM 7995 released

Posted by josmeditor on 2 February 2015 in English.

The January version of JOSM is now available as version 7995 :)

This version is mainly a bugfix release, here are the release notes for visible enhancements:

Notable changes

major enhancements

  • Show photo direction arrow for thumbnail

minor enhancements

  • Presets/Map styles/Validator:
    • complete review across the whole preset menu, to make icons and supported geometries of preset/mappaint/validator/wiki more consistent
    • add to preset note, fixme and description, construction, bicycle_repair_station, highway=escape, brand=Eni,Socar
    • fix validator for motorcycle_parking, sport withbuilding, aeroway=terminal, conifer, natural=peak + sport=climbing, place_of_worship without religion, noname=yes, multipolygons and boundaries, levels, unnamed roundabout
    • fix aerialway, route, facilities, place, natural, associated street relations, shop, man_made, historic and bridge, power, highway=traffic_signal + crossing=no, farm_auxiliary, barn and farm, protect_class, water, transport, pharmacy
  • Size check for source comments
  • Proper selection state in selection dialog
  • Usability for history dialog

Summarized changelog

Complete changelog

Milestone view (need login)

Happy mapping,

The JOSM team

JOSM 7906 released

Posted by josmeditor on 29 December 2014 in English.

The December version of JOSM is now available as version 7906 :)

This version contains a lot of bugfixes, here are the release notes for visible enhancements:

Notable changes

major enhancements

  • Two new languages: Asturian and Khmer
  • Experimental new TMS tile cache structure, to enable with advanced property tms.newcache=true
  • JOSM directories:
    • Java system properties josm.pref, josm.cache and josm.userdata to set preferences, cache, and user data (including plugins) directories
    • Windows: change cache folder to %LOCALAPPDATA%/JOSM on Windows Vista and later
    • OS X: change cache folder to ~/Library/Caches/JOSM, preferences to ~/Library/Preferences/JOSM, user data to ~/Library/JOSM

minor enhancements

  • Presets/Map styles:
    • Changed color of highway=track from green to brown for better visibility on aerial imagery background (in forests) and distinction from paths and steps
    • Added advertising=column/billboard, highway=traffic_mirror, leisure=picnic_table
    • Updated shop=bicycle
    • Refined icons for combinations of highway=traffic_signals and crossing=*
    • Drop mappaint support of building=entrance, amenity=emergency_phone, highway=unsurfaced
    • Icon and geometry consistency between default presets and map paint style for barrier=*, highway waypoints
  • Validator:
    • Added warnings for tags on isolated nodes, which should be part of a way
    • Added warnings for footway
    • Added warnings for addr:street together with highway, noname=yes together with name, alternative name without name, destination on a non oneway, amenity=yes, place=yes, levels, place_name, non integer lanes
  • Notes
    • Add note sorting options
    • Display note IDs
  • Ability to copy path of selected geotagged image

Summarized changelog

Complete changelog

Milestone view (need login)

Happy mapping and happy new year,

The JOSM team

The November version of JOSM is now available (a bit late) as version 7777 :)

You probably have already seen that we have now a great new logo! It has been designed by Ilya Palikov (Diamond00744), who won our logo contest (see results here).

Thanks again to everyone who participated to this contest, it has been a very difficult choice for us, especially during the final phase where we had to choose between two brilliant designs.

It took us several iterations before reaching the final winning design, Ilya has made a nice “making-of” on DeviantArt: http://diamond00744.deviantart.com/art/JOSM-Logotype-496360694 Apart of the new logo, here are the release notes:

Notable changes

major enhancements

  • New logo
  • Ability to download/upload Notes

minor enhancements

See full entry