Hi all,
I have a problem with shapely function “intersection” between polygons.
Many times I obtain the error: “TopologyException: Input geom 0 is invalid: Self-intersection at or near point…” and I would like to pass it without stopping code
I try with try Except but it doesn’t work. I read online about:
from shapely.geos import TopologicalError
try:
#code
except TopologicalError:
print("exception")
pass
I would like print the topological/topology error and pass away if it occurs
Thank you very much
Best Regards