adamfranco / curvature

Find roads that are the most curvy or twisty based on Open Street Map (OSM) data.
http://roadcurvature.com/
225 stars 39 forks source link

Upgrade to Python3 (replace imposm.parser) #45

Closed adamfranco closed 7 years ago

adamfranco commented 7 years ago

The imposm.parser library works well, but seems to have been abandoned and does not support Python 3.

An alternative PBF/OSM-XML parsing library should be found that works with modern Python. https://pypi.python.org/pypi/osmium looks like a good candidate as the underlying C++ library, http://osmcode.org/libosmium/ is updated on a regular basis.