summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/models_common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index c88c71c35..d6d9fb4ae 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -2331,10 +2331,10 @@ class GeoVectorData(Imported, OwnPerms):
@property
def display_spatial_reference_system(self):
- profile = get_current_profile()
- if not profile.display_srs or not profile.display_srs.srid:
+ if self.spatial_reference_system:
return self.spatial_reference_system
- return profile.display_srs
+ profile = get_current_profile()
+ return profile.srs
def get_geo_items(self, get_polygons, rounded=5):
label = self.label if hasattr(self, "label") else self.short_label