call polygonize() to turn paths into polygons
This commit is contained in:
parent
f015e1e1c1
commit
79d41ddeb3
1 changed files with 2 additions and 1 deletions
|
|
@ -56,7 +56,8 @@ def prepare_cell(
|
|||
recursive=True,
|
||||
)
|
||||
|
||||
flat = subset.flatten()
|
||||
polygonized = subset.polygonize() # Polygonize Path shapes
|
||||
flat = polgonized.flatten()
|
||||
|
||||
# load polygons
|
||||
polys = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue