I would like to dissolve a shapefile regardless of attribute content using
geopandas. The regular dissolve can be accomplished with something like this:
import geopandas all = geopandas.read_file(r'Inputs\All.shp') all = all.dissolve(by='topology') all.to_file(driver='ESRI Shapefile', filename=r'Intermediate\All_dissolved.shp')
But the above is using the 'topology' field to aggregate. I have also noticed that the
all.dissolve() function exits with an error, indicating that the
by parameter is required.
How can I dissolve regardless of the attribute in GeoPandas?