A complete environment setup for producing and sharing maps of Poland for Garmin GPS receivers using OpenStreetMap data, called OSMapaPL (available at https://garmin.osmapa.pl).
It consists of a toolchain (mkgmap, mkgmap styles, TYP files and helper scripts) used to compile maps, helper scripts to automate the process and code for a webpage to ditribute the maps.
- Install Python 3.
- Install Java.
All other tools are present in the bin/
directory.
- Install Python 3.
- Install Java.
- In addition to Python 3 and Java, additional tools must be available in the PATH:
zip
osmconvert
andosmfilter
nsis
Here is how you can install all required components on a Ubuntu system:
apt install zip
apt install default-jre
apt install osmctools
apt install nsis
Several required data files are not included in the git repo due to their size. You must fetch them manually and place in correct paths before running the toolchain.
OSM/coastlines_europe-latest.osm.pbf
OSM/srtm_polska.pbf
bounds/*.bnd
(http://osm.thkukuk.de/data/bounds-latest.zip)
python3 -u ProduceDistributionsPL.py
See documentation in the /doc/
directory.
- Michał Rogala - Main project author
- Andrzej Talarczyk - Maintainer, main author of major rebuild - (@atalarczyk)
- Paweł Kosiorek - Visualization updates - (@dodoelk)