I have a spatial dataset with two major columns: county_name
and group_ID
. The spatial polygons are represented by each county_name
. Some counties share the same group_ID
, while some counties contain more than one group_ID
: i.e., I want to merge polygons with the same group_ID
into one, and split the polygon which contains many group_ID
(randomly or evenly) into sub-polygons with the same number of group_ID
, and assign the group_ID
feature to each split new sub-polygons.
I am very new to QGIS and spatial in python, is there a way to do both at the same time, or just part of that?