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

7 lines
160 B
Python
Raw Normal View History

2021-03-07 12:03:19 +05:30
# TODO: allow for implementations using other than GEOS
from shapely.geos import lgeos
def explain_validity(ob):
return lgeos.GEOSisValidReason(ob._geom)