when we use v.net.iso tool to create isochrones, we face four issues.
- v.net.iso does not create isochrones from individual points.
- The output is the whole network layer. We should filter isochrones by attribute 'cat' values
- The lines of output are seaprated each other.
- The attribute values of output do not inherit the attributes of the original points
The python script can solve these problems and save the results.
The process follows these steps.
- Load network layer and point layer of starting point for isochrones.
- Copy Field names and values from the point layer.
- Call a feature of point layer one by one and run v.net.iso.
- Remove unnecessary features of output and merge them to one feature.
- Paste the field information to the isochrone feature.
Every step is processed in PyQGIS automatically.
The algorithm saves all the output of the process.
The script works in Python console in QGIS and needs upto QGIS version 3 and python version 3.
The algorithm uses GRASS 7 module (Geographic Resources Analysis Support System).
If GRASS is not installed in QGIS, install it in QGIS plugins.