From 90ba03d7ecb75b499fedeec2ec2cfb3ff78273df Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 17 Apr 2024 15:25:31 +0200 Subject: 🐛 GIS import: fix bad srid comparison MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models_imports.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/models_imports.py') diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py index ec5b39c65..22890d484 100644 --- a/ishtar_common/models_imports.py +++ b/ishtar_common/models_imports.py @@ -1348,6 +1348,7 @@ def delayed_check(import_pk): def convert_geom(feature, srid): if not feature: return feature + srid = int(srid) geo_type = feature["type"] if geo_type in ("LineString", "Polygon"): feature["type"] = "Multi" + geo_type -- cgit v1.2.3