polygons with a boundary that crosses itself get converted to wrong masks using most of the common libraries.
polygons with a boundary that crosses itself get converted to wrong masks using most of the common libraries.