diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-05-12 17:16:26 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:00 +0100 |
commit | 5665c3b2c2f618c44a13fd83418d8b556a7f6440 (patch) | |
tree | 44191d7baccf4fb5610470593349d420b48d2b35 /ishtar_common/models_common.py | |
parent | 39ef46715a2aa13fa3b82849fc0f0632c136005a (diff) | |
download | Ishtar-5665c3b2c2f618c44a13fd83418d8b556a7f6440.tar.bz2 Ishtar-5665c3b2c2f618c44a13fd83418d8b556a7f6440.zip |
Geodata: import - fix reverse and default data
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r-- | ishtar_common/models_common.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 12a5db0df..35dd4aef1 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -2276,9 +2276,6 @@ class GeoVectorData(Imported, OwnPerms): if not srid or srid != geom.srid: point = geom.transform(srid, clone=True) x, y = point.x, point.y - # Coordinates are reversed - should be fixed on Django 3.2 - if srid in (4326, 4979): - x, y = y, x else: x, y = point.x, point.y if dim == 2: |