shapely geometry check is empty code example Example: create empty polygon python Poly = shapely.geometry.Polygon()