[polygons] Reducing simplify tolerance for language polys now that regional languages are handled separately
This commit is contained in:
@@ -45,11 +45,6 @@ class RTreePolygonIndex(object):
|
|||||||
else:
|
else:
|
||||||
self.polygons = polygons
|
self.polygons = polygons
|
||||||
|
|
||||||
self.post_init()
|
|
||||||
|
|
||||||
def post_init(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def index_polygon(self, id, polygon):
|
def index_polygon(self, id, polygon):
|
||||||
self.index.insert(id, polygon.bounds)
|
self.index.insert(id, polygon.bounds)
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ class LanguagePolygonIndex(RTreePolygonIndex):
|
|||||||
'admin_level'
|
'admin_level'
|
||||||
])
|
])
|
||||||
|
|
||||||
simplify_tolerance = 0.00001
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create_from_shapefiles(cls,
|
def create_from_shapefiles(cls,
|
||||||
admin0_shapefile,
|
admin0_shapefile,
|
||||||
|
|||||||
Reference in New Issue
Block a user