mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-05 04:12:08 +02:00
Python renderer for OpenStreetMap with custom icons intended to display as many map features as possible
doc | ||
lib | ||
.gitattributes | ||
.gitignore | ||
colors.yml | ||
extract_icon.py | ||
flinger.py | ||
grid.png | ||
icons.html | ||
icons.svg | ||
map.png | ||
mapper.py | ||
osm_reader.py | ||
README.md | ||
session.vim | ||
tags.yml | ||
test.py | ||
ui.py |
Map generation
Requirements: Python 2.7.
python mapper.py -i <input OSM XML file name> -o <output SVG file name>

Options
-bbox, --boundary-box | <longitude 1>,<longitude 2>,<latitude 1>,<latitude 2> | Boundary box to draw |
-s, --size | <x>,<y> | Result image size |
Icons
Double size: