/img/avatar.jpg

Filip Czaplicki

Web & Android Developer

OpenStreetMap Software Projects

I’ve been contributing to OpenStreetMap for a few years now. Basically it’s a map that anyone can edit: Wikipedia for maps.

I maintain a few software projects related to OpenStreetMap:

All these projects are open-source. Most of them are static websites regularly re-generated with scripts.

ER Champ 2024

I took part in the qualifications for World Escape Room Championship 2024 competition. It was a great experience. Qualifications were online point-and-click game with puzzles.

I was a member of PKP team with my friends: Mateusz, Tomasz, and Magda. We managed to solve all the puzzles in 03:40:15 which gave us 35th place. See full results at https://erchamp.com/level/intro/16

It was first time we participated, and we are happy with the result. Our goal was to be in top 100 which we achieved.

CLI

This is the list of CLI tools I found useful someday. It is useful reference as remembering all script names and options is cumbersome. Especially those I use rarely.

ripgrep

rg (ripgrep): great grep replacement.

Recursive search and respects .gitignore by default.

Possible to configure per repository with .rgignore

Useful options:

  • -i: case insentive
  • -v: invert matching
  • -A n(after), -B n(before), -C n(context). n is number of lines
  • -u, -uu, -uuu: unrestricted searching with gitignored, hidden, and binary files
  • -l: list files matching
  • -e: pattern (regex) to search for. Useful when using multiple patterns
  • -o: show only matching fragment

sd

sd: sed alternative

Nix

What is Nix?

I recently started using Nix. It is a package manager and a build system. It uses its own functional programming language. At the moment I use it only as a package manager. For years, I maintained Ansible playbook for setting up my development environments. Nix allows to simplify it and eventually might even replace it. Instead of installing software via apt/pipx/downloading binaries from GitHub I use Nix.

JOSM: Bing StreetSide with Utilsplugin2 => Open custom URL

Bing StreetSide is alternative to Google Street View which can be used for OpenStreetMap mapping. There is a MicrosoftStreetside plugin for JOSM but it doesn’t work for me due to dependencies of JavaFX/360 views.

I have managed to use it via Utilsplugin2.

  1. Edit => Preferences (F12) => Utilsplugin2 settings
  2. Add new row with name Bing StreetSide and url https://www.bing.com/maps?cp={#lat}%7E{#lon}&lvl=19.0&style=x.
    In the case of issues one can edit customurl.txt. For Linux/Flatpak it’s located at ~/.var/app/org.openstreetmap.josm/data/JOSM/plugins/utilsplugin2/customurl.txt.
  3. Choose Bing StreetSide in Data => Select custom URL
  4. Now you can see Bing StreetSide via Data => Open custom URL (Shift+H)

If StreetSide is available at given location it will be displayed. Otherwise map is shown with streets colored blue where it’s available.