fr/fr_env/lib/python3.8/site-packages/shapely/validation.py

7 lines
160 B
Python

# TODO: allow for implementations using other than GEOS
from shapely.geos import lgeos
def explain_validity(ob):
return lgeos.GEOSisValidReason(ob._geom)