simplify_polygons#
- simplify_polygons(geojson: dict) dict [source]#
Simplify polygon geometries by applying
.buffer(0)
.For Polygon geometries,
.buffer(0)
can do the following:Sometimes break up a polygon with “bowties” into multiple polygons. (See https://github.com/shapely/shapely/issues/599.)
Sometimes “simplify” polygons. See shapely documentation for
BaseGeometry.buffer()
.