build_shapes: cleanup shape union of RS and KV
This commit is contained in:
parent
bb5c5bd143
commit
a08c20d7c8
@ -129,6 +129,8 @@ def countries(naturalearth, country_list):
|
|||||||
s = df.set_index("name")["geometry"].map(_simplify_polys)
|
s = df.set_index("name")["geometry"].map(_simplify_polys)
|
||||||
if "RS" in country_list:
|
if "RS" in country_list:
|
||||||
s["RS"] = s["RS"].union(s.pop("KV"))
|
s["RS"] = s["RS"].union(s.pop("KV"))
|
||||||
|
# cleanup shape union
|
||||||
|
s["RS"] = Polygon(s["RS"].exterior.coords)
|
||||||
|
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user