call polygonize() to turn paths into polygons
This commit is contained in:
parent
f015e1e1c1
commit
79d41ddeb3
@ -56,7 +56,8 @@ def prepare_cell(
|
|||||||
recursive=True,
|
recursive=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
flat = subset.flatten()
|
polygonized = subset.polygonize() # Polygonize Path shapes
|
||||||
|
flat = polgonized.flatten()
|
||||||
|
|
||||||
# load polygons
|
# load polygons
|
||||||
polys = []
|
polys = []
|
||||||
|
Loading…
Reference in New Issue
Block a user