Mirror of osmpng - Simple OSM tile downloader
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
felix@feldspaten.org 90e7c3dab7 Add comment about OSM restrictions il y a 2 mois
.gitignore Cleanup il y a 2 mois
LICENSE Initial commit il y a 6 ans
Makefile Cleanup il y a 2 mois
README.md Add comment about OSM restrictions il y a 2 mois
String.cpp Cleanup il y a 2 mois
String.hpp Cleanup il y a 2 mois
osmpng.cpp Add more verbose output il y a 2 mois
osmpng.png Cleanup il y a 2 mois

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