[osm/polygons] Adding properties in building polygons

This commit is contained in:
Al
2016-04-08 12:33:40 -04:00
parent e24306701f
commit 0f0af1f295

View File

@@ -251,4 +251,4 @@ class OSMSubdivisionPolygonReader(OSMPolygonReader):
class OSMBuildingPolygonReader(OSMPolygonReader):
def include_polygon(self, props):
return 'building' in props
return 'building' in props or 'building:part' in props or props.get('type', None) == 'building'