Deprecated: GEOS added native support for MakeValid and Shapely v1.8.0 now includes this shapely/shapely#895
PostGIS ST_MakeValid equivalent using Shapely
python setup.py install
python tests/test_validity.py
Refer to tests/test_validity.py for sample usage.
https://github.com/postgis/postgis
- For specific functionality that was ported: https://github.com/postgis/postgis/blob/svn-trunk/liblwgeom/lwgeom_geos_clean.c#L361