Closed wangzhen0518 closed 1 year ago
same error, how do you fixes it, thanks
I just modified the code as the end of my description.
It seems that
line 172
indreamplace/ops/fence_region/fence_region.py
needs to be changed toslices.extend([j.bounds for j in **intersect.geoms** if (isinstance(j, Polygon) and len(j.bounds) == 4)])
withshapely >= 2.0
.
error info
It seems that
line 172
indreamplace/ops/fence_region/fence_region.py
needs to be changed toslices.extend([j.bounds for j in **intersect.geoms** if (isinstance(j, Polygon) and len(j.bounds) == 4)])
withshapely >= 2.0
.