3.1.2 • Published 3 years ago
osm2pdf v3.1.2
OSM map to pdf
Generate pdf with OpenStreetMap tiles.

Install
sudo yarn global add osm2pdf
# or
sudo npm install -g osm2pdfUse
Download a route
You need to provide a route in gpx format. You can download it e.g. on graphhopper website or bicycle planning website cycle.travel.
osm2pdf --route --zoom=10 --input=path/to/route.gpx --output=path/to/output --tile-server=1Download a map
You need to provide GPS boundaries of the area you want to download.
osm2pdf --map -n=70.923 -w=-4.373 -s=55.756 -e=27.872 --zoom=9 --output=path/to/output --tile-server=2Show available tile servers
osm2pdf --list-tile-serversHelp
osm2pdf -h
# or
osm2pdf --helpNode compatibility
We use ECMAScript Modules which are supported since Node v8.
Use responsibly
Tiles are provided by various tile servers. Please use their resources responsibly and follow their respective usage policies.
3.1.2
3 years ago
3.1.1
3 years ago
3.1.0
3 years ago
3.0.0
4 years ago
2.2.4
5 years ago
2.2.1
5 years ago
2.2.3
5 years ago
2.2.2
5 years ago
2.2.0
5 years ago
2.1.2
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.5
6 years ago
2.0.4
6 years ago
2.0.3
6 years ago
2.0.2
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.0.1
6 years ago