microproduct/deformation-sentiral/smallbaselineApp/shapely/validation.py

7 lines
160 B
Python
Raw Normal View History

2023-08-28 10:17:29 +00:00
# TODO: allow for implementations using other than GEOS
from shapely.geos import lgeos
def explain_validity(ob):
return lgeos.GEOSisValidReason(ob._geom)