No description
Find a file
2021-04-30 22:20:12 +02:00
map.png add map.png 2014-04-03 10:28:57 +02:00
mapbender.py port to py3 and format with black 2021-04-30 22:20:12 +02:00
README.md add dependencies 2014-04-03 11:07:01 +02:00
Weser-Radweg-Hauptroute.csv add Weser-Radweg-Hauptroute.csv 2014-04-03 10:29:27 +02:00

Mapbender bends a map along a path.

Example execution:

./mapbender.py Weser-Radweg-Hauptroute.csv 0.286 6 20

The openstreetmap map of the Weser area is currently hardcoded. Upon execution it will show the path given in Weser-Radweg-Hauptroute.csv on the map in a matplotlib plot. It will show the approximated b-spline with the given smoothing factor (6 above) and the map section of the given width (0.286 above) around that curve. The area will be split into sections (20 in the example) which will individually be transformed into rectangles which are also plotted.

On Debian systems you need the following packages:

apt-get install python python-pil python-scipy python-tk python-matplotlib python-numpy