read_zone_shapefiles#
- caf.space.zone_correspondence.read_zone_shapefiles(zone_1, zone_2)[source]#
Read in zone system shapefiles.
Reads in shapefiles and sets zone id and area column names, as well as matching to same crs. If the provided shapefiles don’t contain CRS information then they’re assumed to be “EPSG:27700”.
- Parameters:
zone_1 (inputs.TransZoneSystemInfo) – Info on first zone system
zone_2 (inputs.TransZoneSystemInfo) – Info on second zone system
- Returns:
zones(dict) (A nested dictionary containing zones)
for translation. zone_1.name and zone_1.name contain ‘Zone’
(GeoDataFrame) and ‘ID_col’(str)
- Return type: