diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-05-15 12:34:46 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-15 19:32:59 +0200 |
commit | 22c4b4d765a465eb7704aae43f17957bc5c665ce (patch) | |
tree | c6c2c35c77020a2f02c93609ada0894ac679361a /ishtar_common/models_imports.py | |
parent | 8696d418561fa9c1a32e417a866300472bfa77cb (diff) | |
download | Ishtar-22c4b4d765a465eb7704aae43f17957bc5c665ce.tar.bz2 Ishtar-22c4b4d765a465eb7704aae43f17957bc5c665ce.zip |
🐛 revert geo reverse patch specific for debian bullseye
Diffstat (limited to 'ishtar_common/models_imports.py')
-rw-r--r-- | ishtar_common/models_imports.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py index 273b0eab5..99d7e9fd6 100644 --- a/ishtar_common/models_imports.py +++ b/ishtar_common/models_imports.py @@ -79,7 +79,6 @@ from ishtar_common.utils import ( num2col, put_session_message, put_session_var, - reverse_coordinates, update_data, OwnPerms, SheetItem, @@ -1373,10 +1372,6 @@ def convert_geom(feature, srid): srs = 4326 if not has_z else 4979 if profile.srs and profile.srs.srid: srs = profile.srs.srid - if srs != srid: - # Coordinates are reversed - should be fixed on Django 3.2 - feature = reverse_coordinates( - GEOSGeometry(feature).transform(srs, clone=True).ewkt) return feature |