Python renderer for OpenStreetMap with custom icons intended to display as many map features as possible
Find a file
2015-08-05 03:35:44 +03:00
doc Preview images in readme fix. 2015-08-05 03:35:44 +03:00
lib Library. 2015-07-28 12:42:49 +03:00
.gitattributes Map and icon grid preview; new icons. 2015-08-05 03:30:44 +03:00
.gitignore Added .gitignore. 2015-07-31 12:40:32 +03:00
colors.yml W3C colors. 2015-08-01 14:35:05 +03:00
extract_icon.py Icons extracter. 2015-07-28 23:08:58 +03:00
flinger.py Mapper. 2015-07-28 12:40:12 +03:00
grid.png Map and icon grid preview; new icons. 2015-08-05 03:30:44 +03:00
icons.html All icons HTML page. 2015-08-02 19:33:37 +03:00
icons.svg Map and icon grid preview; new icons. 2015-08-05 03:30:44 +03:00
map.png Map and icon grid preview; new icons. 2015-08-05 03:30:44 +03:00
mapper.py Map and icon grid preview; new icons. 2015-08-05 03:30:44 +03:00
osm_reader.py New tags for skip, write, and draw; options for parsing and drawing. 2015-08-01 01:19:22 +03:00
README.md Preview images in readme fix. 2015-08-05 03:35:44 +03:00
session.vim Vim session. 2015-08-02 19:37:09 +03:00
tags.yml Map and icon grid preview; new icons. 2015-08-05 03:30:44 +03:00
test.py All icons HTML page. 2015-08-02 19:33:37 +03:00
ui.py Colors and icons. 2015-08-05 00:48:51 +03:00

Map generation

Requirements: Python 2.7.

python mapper.py -i <input OSM XML file name> -o <output SVG file name>

![https://github.com/enzet/OSM/raw/master/map.png](Sample map)

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:

https://github.com/enzet/OSM/raw/master/grid.png