With many thanks to Election Maps UK, Britain Elects, Andrew Teale, Ballot Box, Electoral Calculus, The Ordnance Survey and The Boundary Commission
- Dec 2017
- Dec 2018
- Electoral Calculus
- OS Unitary Electoral Division
-
python3 -m venv env
-
source env/bin/activate
-
Merge 2022 wards Boundaries
-
Parwise Clip wards with 2017/18 (as they are difference source)
-
Spatial join with districts
-
Now we are going to find the minimum area that encompasses both the old and new maps
- Make four regions (Wales, Scotland, England, London) from country region
- Remove attributes
-
Now we intersect with wards and export
- Pairwise intersect wards with the regions to produce wards_eng_2022, wards_wal_2022, wards_lon_2022, wards_sco_2022
- Pairwise intersect wards with the regions to produce wards_eng_2018, wards_wal_2017, wards_lon_2018, wards_sco_2017
- Export to Geojson
-
Cd into scripts and run boundary_changes.py
-
Remove extra attributes, simplify (use mapshaper ~1mb topojson)