Mirror of osmpng - Simple OSM tile downloader
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
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