From 29511dd0454f59358e8c5f61964ffa0564fe99af Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 14 Jul 2022 16:51:22 +0200 Subject: Geo: fix migration script SRS for operation and sites --- ishtar_common/management/commands/migrate_to_geo_v4.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/management') 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 -- cgit v1.2.3