OpenStreetMap logo OpenStreetMap

darkonus's Diary

Recent diary entries

I’ve suggested an updated version of the diagrams explaining the tagging of railway stations. The goal is to make them simpler to understand, especially for newcomers, without losing the core meaning. There have already been some feedback and interesting ideas for further improvements.

More complete tagging diagram

I invite you to join the discussion — your input would be highly appreciated!

Skyranger 35 + OpenStreetMap Carto

Posted by darkonus on 8 March 2025 in English. Last updated on 9 March 2025.

As an OpenStreetMap contributor, I always pay attention to how maps are used in media and various software applications. It is fascinating to see OSM data appear in unexpected places. Previously, I noticed that OpenStreetMap was used in the movie Mission: Impossible.

Recently, I came across an example of OSM’s osmCarto style being used in the software of the Skyranger 35, a highly mobile air defense system.

osm-carto

See full entry

I became interested in the issue of localizing the map of Ukraine into English and decided to raise it in several forum discussions (first, second, third) to delve into the nuances and find optimal approaches to filling out the name:en tag for objects in Ukraine.

My goal was to understand how to correctly fill in the name:en tag and determine whether it should contain a translation or transliteration. While this may seem like a technical issue, it actually has deep cultural and historical roots, and the answer is not immediately obvious. However, through the discussion, I believe I found a solution and would like to share it in this diary.

Endonyms and Exonyms: What Are They?

First and foremost, it is important to understand the difference between endonyms and exonyms.

Endonym refers to the name of a geographical object in the language of the people who live in that area. For instance, for the residents of Ukraine, the name of the capital Kyiv is an endonym. Endonyms always reflect the authentic name used by the local population.

Exonym refers to the name for the same geographical object used by people or countries outside that area. Examples of Ukrainian exonyms include Viden for Wien, Niu-York for New York, and Florentsia for Firenze. The Spanish name for the city Lviv is Leópolis, and the German name is Lemberg. Historically, such names were formed quite chaotically, influenced by various linguistic traditions or political processes.

See full entry

Цей важливий етап став можливим завдяки нашій команді перекладачів: мені, darkonus, а також andygol і Gontsa. Два роки тому ми мріяли, щоб новини світу OpenStreetMap були доступні українською мовою, і тепер можемо бачити, як ця мрія реалізувалася.

Ми вважаємо, що наш внесок допомагає зблизити українську та світову спільноти, роблячи інформацію про OpenStreetMap доступнішою для українських користувачів.

Крім того, якщо у вас є цікаві новини чи події з OpenStreetMap, ви також можете їх додати до тижневика! Більше інформації про те як це зробити та просту інструкцію можна знайти тут.

Хоча випуски регулярно виходять, нам завжди буде корисна підтримка від зацікавлених читачів, які могли б допомогти з перекладом та редагуванням. Це дозволило б покращити якість тексту. Якщо ви хочете долучитися до нашої команди та допомогти, ми будемо раді вашій участі.

🎉

Hello! Today, I want to share a handy script that can enhance your experience with JOSM on MacOS by enabling a dark mode theme. Dark mode not only looks sleek but can also reduce eye strain, especially during late-night mapping sessions.

Note: This script is specifically for MacOS users.

Step 1: Download JOSM

If you haven’t already, download the latest version of josm-tested.jar here. Save it to a location on your Mac.

Step 2: Install the FlatLaf Plugin

FlatLaf is a fantastic plugin that allows you to apply dark themes to Java applications. After installing the plugin and restarting, go to the menu and select the dark theme: JOSM → Settings → Display → Look and Feel → FlatLaf Darcula

Step 3: Create and Run the Script

Now, let’s create a script that will launch JOSM with a dark theme. Open your favorite text editor and paste the following code:

shell #!/bin/zsh

java -Dapple.awt.application.appearance=NSAppearanceNameDarkAqua -Xmx7168m -jar /Users/YourUsername/Documents/josm-tested.jar

Make sure to replace YourUsername with your actual MacOS username. This script does the following:

  • #!/bin/zsh: Informs your system to use the Zsh shell to execute the script.
  • java -Dapple.awt.application.appearance=NSAppearanceNameDarkAqua -Xmx7168m -jar /Users/YourUsername/Documents/josm-tested.jar: Launches the Java runtime with dark mode enabled, allocates 7168MB (or 7GB) of RAM to JOSM (you can adjust this value), and specifies the path to your JOSM JAR file.

Step 4: Save and Make the Script Executable

Save this script with a .command extension, for example, josm-dark-mode.command. To make it executable, open your terminal, navigate to the directory where you saved the script, and run the following command:

shell chmod +x josm-dark-mode.command

Step 5: Execute the Script

Now, you can simply double-click josm-dark-mode.command, and JOSM will launch with a beautiful dark theme, thanks to the FlatLaf plugin and the MacOS appearance setting.

See full entry

Location: Cape Town Ward 115, Cape Town, City of Cape Town, Western Cape, South Africa

How to draw smooth ways in JOSM

Posted by darkonus on 29 June 2023 in English.

I want to share my experience using the CAD Tools plugin for drawing ways with smooth bends in JOSM. I want to emphasize that I don’t claim that this mapping method is the right or useful one. Most mappers tend to show object contours with as few points as possible. I see the advantages of this approach as it makes data easier to edit, especially in mobile and browser-based OpenStreetMap editors.

On the other hand, smooth line bends work well for the shape of most objects we map. Roads, being one of the main features on maps, are always represented by smooth lines best described by Bézier curves. Coastal lines of various water bodies almost always have smooth bends.

My considerations are as follows: the closer the data represents the true shape of an object, the more accurate the data is. Ultimately, my main motivation is that smooth lines are very aesthetically pleasing.

OpenStreetMap in Organic Maps

See full entry

Location: Dubyna, Starokostiantyniv Urban Hromada, Khmelnytskyi Raion, Khmelnytskyi Oblast, 31115, Ukraine

OpenStreetMap (OSM) is an invaluable resource for geospatial data, providing free and open access to information about our planet. One interesting aspect of OSM is its ability to track the history of changes made to objects in its database. As someone curious about geospatial data, I’ve been exploring ways to visualize this data in a more intuitive manner. Recently, I decided to experiment with GPT-4, a state-of-the-art language model by OpenAI, to see if we could come up with a fresh approach to visualizing OSM data history. In this blog post, I’ll share my initial attempts, examples of the traditional OSM Deep History table, and the new visualization I created with GPT-4’s assistance.

Traditional OSM Deep History Table

The standard OSM Deep History page presents data history in a tabular format. While it’s a helpful tool for understanding how objects in the database have evolved, the table format can make it difficult to quickly grasp changes and trends in the data. The table includes a row for each version of the object, with columns for different attributes. As a result, finding meaningful insights can be challenging.

See full entry

How to properly install JOSM on a Mac with Apple Silicon

Posted by darkonus on 4 December 2021 in English. Last updated on 20 April 2024.
  1. Install Java Development Kit for ARM 64 processors. JOSM developers now recommend Azul or Bellsoft Liberica JDK’s. At the moment, I’m using the Azul build: https://www.azul.com/downloads/?package=jdk#download-openjdk

  2. Download josm-tested.jar https://josm.openstreetmap.de/josm-tested.jar

  3. Drag and drop josm-tested.jar into the Dock

  4. Run JOSM!

JOSM

PS: Updated recommendations for JDK

UPD April 20, 2024: The instructions are effective; however, the JOSM development team now produces a build that supports both Intel and Apple Silicon processors. Currently, I download and install JOSM using Homebrew.

The Ukrainian community is concerned about the possible negative impact on the project as a whole, the emergence of lawsuits from users of data and the subsequent decline of the project, and therefore restores the borders of Ukraine to the internationally recognized status. The recent decision of DWG ( https://wiki.osmfoundation.org/wiki/Working_Group_Minutes/DWG_2018-11-14_Crimea ) neglects the wide recognition of Crimea as an integral part of Ukraine expressed by numerous governments and international organizations (in particular, UN General Assembly Resolution 68/262 http://www.un.org/en/ga/68/resolutions.shtml / https://undocs.org/en/A/RES/68/262 ). DWG actions directed to cut off Crimea from the borders of Ukraine are considered to be inadequate to the interests of the project and are not recognized by law. Any blockages (bans) aimed against members who restored the border of Ukraine to the widely internationally recognized status will be seen as unjustified pressure on the entire community and usurpation of power in the OSM.

P.S.

“changing names or country information would require consensus from both the Ukrainian and Russian communities. It is unlikely that any such edit proposals will be able to achieve this.” (с) DWG //

Moreover, according to clause 4, a consensus should be reached between the Ukrainian and Russian communities on changing information about countries. There is no consensus - there is no reason to separate the Crimea from Ukraine.

CrimeaІsUkraine #DWG #CrimeaMap #КримЦеУкраїна #ИхТамНет

osm.org/relation/60199

osm.org/user/velmyshanovnyi - osm.org/user_blocks/2360 ;

osm.org/user/velmyshanovnyi - osm.org/user_blocks/2359 ;

osm.org/user/andergrin - osm.org/user_blocks/2358 ;

osm.org/user/Дівчина_з_Коломиї - osm.org/user_blocks/2357 ;

osm.org/user/паляниця - osm.org/user_blocks/2356 ;

osm.org/user/frankoivan - osm.org/user_blocks/2355 ;

osm.org/user/pumpkinpie226 - osm.org/user_blocks/2354 ;

See full entry