Open Street Maps


OSM Downloader


osmdw It's a bash script. It depends on basic Linux/Unix utilities (cut, tail, sleep ...), bc and wget. It has been tested on Linux only. You should open it in the editor and read first 27 lines of it. Create a directory to downlod data and set the variable osm_dir in the script to appropriate value (default is "$HOME/dwmaps/OSM"). You may create an osmdw.conf in that directory if you want. This file is being read after each wget, so you can change script's behavior during it's lenghty (several weeks) execution.
The script stores logs in osmdw_progress file in the same directory and it's able to restart where it has ended after being killed.
osmdw_intsleep doesn't need bc to run, but sleep granularity is 1 second, which has been proven being too long.
You can find out which numbers are appropriate to set download boundaries by running tangogps with map on a clean directory, find the edge there in higher zoom, than where you want to start and then zoom in to your desired starting zoom. Then you can use any image viewer to examine those few directories and pictures, it has created in the directory with your preferred starting zoom. Repeat that 4 times and you have all the data to start.

example:
osmdw 9 16 276 290 162 175
Downloads the whole Poland from level 9 to level 16.

OSM Czech Republic


Downloaded in summer 2025, levels 9 to 16, 10.9GB compressed, tar.xz OSM_cz_2025Jul07-2025Aug13.tar.xz Downloaded in summer 2019, 9.5GB compressed, mountable squash fs OSM_cz_9_16_2050_xz1024_1.sqfs

OSM Poland


Downloaded between 2025Jul07 and 2025Aug06, levels 9 to 16, 28.5GB compressed, 38.3GB uncompressed OSM_pl_2025Jul07-2025Aug06.tbz2

OSM Slovakia


Downloaded in summer 2023, 7.5GB compressed OSM_sk_2023.tar.xz