Open CDuncan-TfN opened 4 days ago
This could be resolved by retaining only the zone_id columns after reading the shapefiles in zone_correspondence.read_zone_shapefiles
Thanks for raising, I'll take a look soon. Hopefully it will be fixed in a branch soonish if this is blocking anything and then released not too long after.
Take two zoning systems, annie and brian:
Results in KeyError: "['annie_id'] not in index"
I believe the error occurs because the additional "annie_id" column in brian is being retained, then when the gpd.overlay method is called you get "annie_id_1" and "annie_id_2"