- upgrade to use the new notations in the Shapely's buffer method for the cap_style and join_style parameters (used to be integers, now they are strings or defines)

This commit is contained in:
Marius Stanciu
2025-03-05 01:49:19 +02:00
parent bc3fb8fdee
commit 3f504e86c6
19 changed files with 88 additions and 84 deletions

View File

@@ -776,7 +776,7 @@ class Film(AppTool):
svg_footer = '</g> </svg>'
# decide if to round the bounding box for the negative
join_s = 1 if r_box else 2
join_s = "round" if r_box else "mitre"
if isinstance(box_geo, (LineString, LinearRing)):
b_geo = Polygon(box_geo).buffer(margin, join_style=join_s)