Mirror of osmpng - Simple OSM tile downloader
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
felix@feldspaten.org 90e7c3dab7 Add comment about OSM restrictions пре 2 месеци
.gitignore Cleanup пре 2 месеци
LICENSE Initial commit пре 6 година
Makefile Cleanup пре 2 месеци
README.md Add comment about OSM restrictions пре 2 месеци
String.cpp Cleanup пре 2 месеци
String.hpp Cleanup пре 2 месеци
osmpng.cpp Add more verbose output пре 2 месеци
osmpng.png Cleanup пре 2 месеци

README.md

osmpng

OSM Title downloader and merger tool

Disclaimer At the moment the tool is not working due to newly introduced restrictions on fetching OSM tiles.

Build

osmpng depends on libpng++ and libcurl. You will need both libraries to complete the compile process.

make
sudo make install

Usage

Type osmpng --help for a helpful help message :-)

Usage: osmpng [OPTIONS] [LONGITUDE LATITUDE ZOOM]

OPTIONS
    -help                    Print this help message
    -version                 Print program version
    --cache=CACHE
    -c CACHE                 Define cache directory
    -o OUTPUT                Define output file
    --keep-cache
    -k                       Do not delete cached files after download

Demo

To download for instance the map of Innsbruck

osmpng -o ibk.png 11.3425-11.4614 47.2761-47.2484 14

Screenshot of Innsbruck