Python renderer for OpenStreetMap with custom icons intended to display as many map features as possible
Find a file
2020-08-23 08:30:26 +03:00
.idea Major refactoring. 2020-08-22 10:28:30 +03:00
data Fix icons grid; update grid. 2020-08-22 10:59:10 +03:00
doc Add documentation for icon combination. 2020-08-23 08:30:26 +03:00
icons Add icon for tactile_paving=yes. 2020-08-23 06:44:08 +03:00
roentgen Fix extra icons. 2020-08-23 07:22:54 +03:00
.gitattributes Add credit to Osmic. 2020-08-23 07:11:39 +03:00
.gitignore Getting data from OpenStreetMap. 2015-08-07 01:04:38 +03:00
icons.html All icons HTML page. 2015-08-02 19:33:37 +03:00
readme.md Add documentation for icon combination. 2020-08-23 08:30:26 +03:00
run.py Major refactoring. 2020-08-22 10:28:30 +03:00
session.vim Icon colors. 2015-08-07 12:44:20 +03:00
test.py Fix icons grid; update grid. 2020-08-22 10:59:10 +03:00

Röntgen is a

  • simple Python OpenStreetMap renderer,
  • set of icons,
  • and map styles.

The idea behind Röntgen project is to have a possibility to display every OpenStreetMap data tag on the map. 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.

Nevertheless, Röntgen map generator can generate precise but messy maps for OSM contributors as well as pretty and clean maps for OSM users.

Map generation

Sample map

Requirements: Python 3.7.

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

python3 roentgen.py -i ${INPUT_FILE_NAME} -o ${OUTPUT_FILE_NAME}

Options

OptionValueDescription
-bbox, --boundary-box <longitude 1>,<latitude 1>,<longitude 2>,<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.

All icons are under CC BY 4.0 license. So, do whatever you want but give appropriate credit.

Icon set is heavily inspired by Osmic icon set.

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.

Icon combination

Some icons can be combined into new icons.

Icons

Röntgen map styles

All tags style

Options: --show-missing-tags --overlap 0

The idea behind Röntgen project is to have a possibility to display every OpenStreetMap data tag on the map.

Pretty style

Options: --draw-captions main --level overground