Fix OSM multipolygon buildings
This commit is contained in:
@@ -730,9 +730,10 @@ def build(args):
|
||||
focus_points.extend(ring)
|
||||
|
||||
def handle_building(way, tag, ring):
|
||||
inner_rings = [projector.ring(coords) for coords in way.get("inner_coords", [])]
|
||||
added, ind_added, ring_pts = _building.assemble(
|
||||
ring, str(way["id"]), tag, args["office_overrides"],
|
||||
buildings_c, building_mats)
|
||||
buildings_c, building_mats, inner_rings=inner_rings)
|
||||
counts["building_count"] += added
|
||||
counts["industrial_count"] += ind_added
|
||||
if ring_pts:
|
||||
|
||||
Reference in New Issue
Block a user