pyguymer3.geo.checkSrc.check_Polygon¶
- pyguymer3.geo.checkSrc.check_Polygon(poly, /, *, prefix='.')[source]¶
Check Polygon
This function checks if a Polygon is valid.
- Parameters:
poly (shapely.geometry.polygon.Polygon) – the Polygon
prefix (str, optional) – change the name of the output debugging CSVs
Notes
According to the Shapely documentation for the function shapely.geometry.polygon.orient() :
“A sign of 1.0 means that the coordinates of the product’s exterior ring will be oriented counter-clockwise.”
Copyright 2017 Thomas Guymer [1]
References