From 78924fa30864ecb03d30dfd4ba594a96300bc5e8 Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 9 Apr 2016 19:28:56 -0400 Subject: [PATCH] [polygons] Quattroshapes neighborhoods use regular in-memory polygons --- resources/dictionaries/en/unit_types_numbered.txt | 3 ++- scripts/geodata/polygons/reverse_geocode.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/dictionaries/en/unit_types_numbered.txt b/resources/dictionaries/en/unit_types_numbered.txt index 49793c1a..69012d8c 100644 --- a/resources/dictionaries/en/unit_types_numbered.txt +++ b/resources/dictionaries/en/unit_types_numbered.txt @@ -34,6 +34,7 @@ maisonette|msnt marine berth|mb|mbth number|#|nbr|num|no|№|nmbr|nr office|ofc|off|o|offc +parcel penthouse|pths|ph|pent house pier portion|por @@ -67,4 +68,4 @@ vault|vlt villa|vlla|vl ward|wrd|wd warehouse|we|whs|wrhs -workshop|wshp|wkshp|wksp \ No newline at end of file +workshop|wshp|wkshp|wksp diff --git a/scripts/geodata/polygons/reverse_geocode.py b/scripts/geodata/polygons/reverse_geocode.py index 0e42c39b..89db02d2 100644 --- a/scripts/geodata/polygons/reverse_geocode.py +++ b/scripts/geodata/polygons/reverse_geocode.py @@ -617,6 +617,9 @@ class QuattroshapesReverseGeocoder(RTreePolygonIndex): class QuattroshapesNeighborhoodsReverseGeocoder(GeohashPolygonIndex, QuattroshapesReverseGeocoder): + persistent_polygons = False + cache_size = None + @classmethod def create_neighborhoods_index(cls, quattroshapes_dir, output_dir,