From 15c58b1d1b3ee6972ed70de7ce77d39999344673 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 29 Jan 2017 19:19:19 +0100 Subject: SRS: add auth_name to SRS model --- ishtar_common/utils.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/utils.py') diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py index 60913851e..83534d93a 100644 --- a/ishtar_common/utils.py +++ b/ishtar_common/utils.py @@ -190,6 +190,7 @@ def post_save_point(sender, **kwargs): point_2d = None if instance.x and instance.y and \ instance.spatial_reference_system and \ + instance.spatial_reference_system.auth_name == 'EPSG' and \ instance.spatial_reference_system.srid != 0: point_2d = convert_coordinates_to_point( instance.x, instance.y, srid=instance.spatial_reference_system.srid) -- cgit v1.2.3