from shapely.geometry import Polygon, MultiPolygon, mapping
from shapely.ops import cascaded_union
polygon = Polygon([(0,0), (0, 1), (1, 1), (1, 2)])
polygon.is_simple
gives True
. But the description/documentation is:
True if the geometry is simple, meaning that any self-intersections are only at boundary points, else False
I thought this was one of the cases that are not simple. Could you please give me a minimal example of a non-simple polygon?