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 | 59f551ef2058ca50699dd4055892063e44055402 (patch) | |
tree | 44191d7baccf4fb5610470593349d420b48d2b35 /ishtar_common/models_common.py | |
parent | c0b5c70f34fe0df39da08818a8649c1f0125e905 (diff) | |
download | Ishtar-59f551ef2058ca50699dd4055892063e44055402.tar.bz2 Ishtar-59f551ef2058ca50699dd4055892063e44055402.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: |