Python renderer for OpenStreetMap with custom icons intended to display as many map features as possible
Find a file
2015-08-07 00:34:21 +03:00
doc Readme updated. 2015-08-05 12:07:36 +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 Icon changes for entrance. 2015-08-07 00:34:21 +03:00
icons.html All icons HTML page. 2015-08-02 19:33:37 +03:00
icons.svg Icon changes for entrance. 2015-08-07 00:34:21 +03:00
map.png Preview update. 2015-08-06 22:45:11 +03:00
mapper.py Process file; icons test drawing; new icons. 2015-08-06 00:46:29 +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
process.py Tags refactoring and new tags. 2015-08-06 22:43:24 +03:00
README.md Readme updated. 2015-08-05 12:07:36 +03:00
session.vim Vim session. 2015-08-02 19:37:09 +03:00
tags.yml Tags refactoring and new tags. 2015-08-06 22:43:24 +03:00
test.py Process file; icons test drawing; new icons. 2015-08-06 00:46:29 +03:00
ui.py Colors and icons. 2015-08-05 00:48:51 +03:00

Röntgen project focuses on displaying every OpenStreetMap data tag on the map.

Why do we need yet another map style?

It is actually not just another map style since it is not a map for users but map for OpenStreetMap contributors. Suppose, you spent time adding colors for building walls, benches and shelters for bus stops but they do not represented on the map. Röntgen helps to display all changes you made.

Map generation

Sample map

Requirements: Python 2.7.

There are simple Python renderer that generates SVG map from OpenStreetMap data. You can run it using:

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

Options

Option Value Description
-bbox, --boundary-box <longitude 1>,<longitude 2>,<latitude 1>,<latitude 2> (decimal float) Boundary box to draw
-s, --size <width>,<height> (pixels) Result image size

Icon set

If tag is drawable it is displayed using icon combination and colors.

Double size:

Icons

Feel free to request new icons via issues for whatever you want to see on the map. No matter how frequently the tag is used in OpenStreetMap since final goal is to cover all tags. However, common used tags have priority, other things being equal.