QGIS 3.20+
Copy the bicycle_planner
directory to your QGIS plugin directory (e.g. $HOME/.local/share/QGIS/QGIS3/profiles/default/python/plugins/
). In QGIS open the plugin manager and enable the Bicycle Planner plugin.
The plugin can be found in the Processing Toolbox under Bicycle Planner -> Vector Processing -> Generate bicycle flow network
The road Network layer can be generated using the Classify NVDB network algorithm. Its input is a homogenized road network from Trv Lastkajen with the following attributes.
- Driftbidrag statligt/Vägnr
- Funktionell vägklass/Klass
- Hastighetsgräns/Högsta tillåtna hastighet (Framriktningen)
- Hastighetsgräns/Högsta tillåtna hastighet (Bakriktningen)
- Trafik/ÅDT fordon
- Väghållare/Väghållartyp
- Vägtrafiknät/Nättyp
Origins layer provides origin data which must have a size/population attribute and may have an additional weight attribute.
The Destination layer should be a collection of OSM POI point geometries, that can be downloaded from https://download.geofabrik.se, and must have a feature class attribute that conforms to OSM POI values. These values are internally mapped into errand categories.
Work place layer and School layer are geometries with a size attribute.
When all layers an attributes are set a flow network can be calculated by running the algorithm.
A Python script is provided in the scripts/
directory that can be used to calculate socio-economic parameters and add them to origin geometries as attributes. The script developed to use Swedish DeSO areas and statistics from SCB for the calculations.