From 22164114948766623640f52469d91a45f1a57698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sun, 19 Nov 2017 23:27:41 +0100 Subject: [PATCH] we should get the unary union from the other geometrychangestracker --- src/c3nav/mapdata/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/mapdata/cache.py b/src/c3nav/mapdata/cache.py index 43b887b1..99931f8b 100644 --- a/src/c3nav/mapdata/cache.py +++ b/src/c3nav/mapdata/cache.py @@ -359,7 +359,7 @@ class GeometryChangeTracker: self.finalize() other.finalize() for level_id in other._geometries_by_level.keys(): - self._geometries_by_level.setdefault(level_id, []).append(self._get_unary_union(level_id)) + self._geometries_by_level.setdefault(level_id, []).append(other._get_unary_union(level_id)) self._unary_unions = {} def save(self, last_update, new_update):