Renders streets and street lamps from a PBF export. Each street (ways with
highway=*
) will be rendered as line segments, the color will depend on the
lit=
attribute. Streets that are lit will be yellow, the ones that are tagged
as not lit red and those without the tag blue. On top of that, each node with
highway=street_lamp
will be rendered as bright yellow dots.
- cmake
- git
- Boost
- ZLIB
- Protobuf
- OpenCV
git clone https://github.com/svenpilz/osm_street_lamps
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../osm_street_lamps
./osm_street_lamps exported-pbf-file output-image-file
Exports can for example be downloaded from http://download.geofabrik.de.