fallback no longer needed
This commit is contained in:
parent
d57c2dfcf9
commit
1c831030a2
1 changed files with 1 additions and 8 deletions
|
@ -334,14 +334,7 @@ class GeometryChangeTracker:
|
|||
self._unary_unions = {}
|
||||
|
||||
def _get_unary_union(self, level_id):
|
||||
|
||||
try:
|
||||
union = self._unary_unions.get(level_id)
|
||||
except AttributeError:
|
||||
# fallback if there are still old pickled updates in the queue
|
||||
self._unary_unions = {}
|
||||
union = None
|
||||
|
||||
union = self._unary_unions.get(level_id)
|
||||
if union is None:
|
||||
union = unary_union(self._geometries_by_level[level_id])
|
||||
self._unary_unions[level_id] = union
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue