[osm/polygons] From benchmarking it seems to make sense to keep OSM polygons in memory after all

This commit is contained in:
Al
2016-04-05 23:25:45 -04:00
parent f76a78120d
commit 26ada5cdbb

View File

@@ -434,9 +434,6 @@ class QuattroshapesReverseGeocoder(RTreePolygonIndex):
PRIORITIES_FILENAME = 'priorities.json'
persistent_polygons = True
cache_size = 100000
sorted_levels = (COUNTRY,
ADMIN1_REGION,
ADMIN1,
@@ -651,8 +648,6 @@ class OSMReverseGeocoder(RTreePolygonIndex):
polygon_reader = OSMAdminPolygonReader
persistent_polygons = True
cache_size = 1000000
simplify_polygons = True
include_property_patterns = set([