[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

@@ -434,7 +434,7 @@ class OSMSubdivisionReverseGeocoder(OSMReverseGeocoder):
cache_size = 10000
simplify_polygons = False
polygon_reader = OSMSubdivisionPolygonReader
include_property_patterns = OSMReverseGeocoder.include_property_patterns | set(['landuse', 'place'])
include_property_patterns = OSMReverseGeocoder.include_property_patterns | set(['landuse', 'place', 'amenity'])
class OSMBuildingReverseGeocoder(OSMReverseGeocoder):