[osm/polygons] Adding properties in building polygons

This commit is contained in:
Al
2016-04-08 12:33:40 -04:00
parent 3bc85db41e
commit 737b5d06ed

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'