city_retrofit/venv/lib/python3.7/site-packages/shapely/validation.py

7 lines
160 B
Python
Raw Normal View History

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