I have a GeoDataFrame made of polygons- some overlapping, some not (see picture above). I'd like to create a shapefile or GeoPackage of only the polygon centroids that are not overlapping. There is a very clear way of how to do this in QGIS here, but I'd like to complete this in Python.
This is what I have tried thus far:
combined = point_gdf.overlay(point_gdf, how="union")
valid_buffers = combined.drop_duplicates()
return valid_buffers
How do you select the non-overlapping polygons from a single GeoDataFrame and create a new GeoPackage from that selection in Python?