com7Regional.splitInputs.createDirList
- createDirList(inputShp)[source]
Create a list of entries from each feature in the input shapefile, grouped by the ‘group’ attribute.
- Parameters
inputShp (pathlib.Path object) – path to input shapefile
- Returns
dirListGrouped – list of dictionaries containing dirName (group name), properties list, and geometries list, where features are grouped by their ‘group’ attribute
- Return type
list