diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-14 16:51:22 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:26 +0100 |
commit | 29511dd0454f59358e8c5f61964ffa0564fe99af (patch) | |
tree | 4bbeef902175330505a1914aa53b4c1da572be83 | |
parent | 0ea862b94d0abb329c85b94e1fb64c848c2850da (diff) | |
download | Ishtar-29511dd0454f59358e8c5f61964ffa0564fe99af.tar.bz2 Ishtar-29511dd0454f59358e8c5f61964ffa0564fe99af.zip |
Geo: fix migration script SRS for operation and sites
-rw-r--r-- | ishtar_common/management/commands/migrate_to_geo_v4.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/management/commands/migrate_to_geo_v4.py b/ishtar_common/management/commands/migrate_to_geo_v4.py index 188365c45..498ec796a 100644 --- a/ishtar_common/management/commands/migrate_to_geo_v4.py +++ b/ishtar_common/management/commands/migrate_to_geo_v4.py @@ -118,6 +118,7 @@ def _process_site_ope(obj): "x": obj.x, "y": obj.y, "z": obj.z, + "spatial_reference_system": obj.spatial_reference_system } data = models_common.GeoVectorData.objects.create(**attrs) obj.main_geodata = data |