[polygons] Making simplify_tolerance and preserve_topology for polygon simplification configurable per class

This commit is contained in:
Al
2015-09-10 11:06:18 -07:00
parent 6a5b01b51b
commit fca7f21b1d
2 changed files with 9 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ class LanguagePolygonIndex(RTreePolygonIndex):
'admin_level'
])
simplify_tolerance = 0.00001
@classmethod
def create_from_shapefiles(cls,
admin0_shapefile,