ZoningSystem.zoning_from_shapefile#
- classmethod ZoningSystem.zoning_from_shapefile(name, shapefile, name_col, tfn_bound=PosixPath('Y:\\Data Strategy\\GIS Shapefiles\\TfN Boundary\\Transport_for_the_north_boundary_2020_generalised.shp'))[source]#
Produce a ZoningSystem from a shapefile.
- Parameters:
name (str) – The name of the zone system.
shapefile (PathLike) – A path to the shapefile to generate the zoning from.
name_col (str) – The column in the shapefile containing the zone ‘names’.
tfn_bound_path – A path to a polygon shapefile used to determine internal/external in resulting ZoneSystem
tfn_bound (PathLike)
- Return type:
ZoneSystem