pyguymer3.geo.checkSrc.check_LinearRing

pyguymer3.geo.checkSrc.check_LinearRing(ring, /, *, prefix='.')[source]

Check LinearRing

This function checks if a LinearRing is valid.

Parameters:
  • ring (shapely.geometry.polygon.LinearRing) – the LinearRing

  • 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