geopandas.
overlay
Perform spatial overlay between two GeoDataFrames.
Currently only supports data GeoDataFrames with uniform geometry types, i.e. containing only (Multi)Polygons, or only (Multi)Points, or a combination of (Multi)LineString and LinearRing shapes. Implements several methods that are all effectively subsets of the union.
Method of spatial overlay: ‘intersection’, ‘union’, ‘identity’, ‘symmetric_difference’ or ‘difference’.
If True, return only geometries of the same geometry type as df1 has, if False, return all resulting gemetries.
GeoDataFrame with new set of polygons and attributes resulting from the overlay