diff options
-rw-r--r-- | ishtar_common/models_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 2fb0d40f6..69cdeba94 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -2298,7 +2298,7 @@ class GeoVectorData(Imported, OwnPerms): coordinates = [x, y, point.z] if not rounded: return coordinates - return [round(coord, rounded) for coord in coordinates] + return [round(coord or 0, rounded) for coord in coordinates] def get_coordinates_from_polygon(self, rounded=5, srid: int = None): if self.multi_polygon: |