- 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user