summaryrefslogtreecommitdiff
path: root/ishtar_common/management
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/management')
-rw-r--r--ishtar_common/management/commands/migrate_to_geo_v4.py1
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 d904b279a..188365c45 100644
--- a/ishtar_common/management/commands/migrate_to_geo_v4.py
+++ b/ishtar_common/management/commands/migrate_to_geo_v4.py
@@ -195,6 +195,7 @@ def _process_main(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