[polygons] Adding university and hospital polygons to the subdivisions index, (multiple sub-buildings but still want to know the parent entity)

This commit is contained in:
Al
2016-05-17 16:39:47 -04:00
parent 334f22a41c
commit d595e48721
3 changed files with 4 additions and 3 deletions

View File

@@ -251,7 +251,7 @@ class OSMAdminPolygonReader(OSMPolygonReader):
class OSMSubdivisionPolygonReader(OSMPolygonReader):
def include_polygon(self, props):
return 'landuse' in props or 'place' in props
return 'landuse' in props or 'place' in props or 'amenity' in props
class OSMBuildingPolygonReader(OSMPolygonReader):