From 8dcae6437e354b2e44064692289b88c9d9a90ad1 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 30 Sep 2023 20:35:40 +0300 Subject: Comments chnaged to be more accurate --- core/models/caves.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'core/models/caves.py') diff --git a/core/models/caves.py b/core/models/caves.py index cd8bb10..539006b 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -412,11 +412,10 @@ class Entrance(TroggleModel): return "" def latlong(self): - """Gets lat long assuming that it has to get it from the associated stations, but in fact the Entrance itself - has easting/northing and lat/long fields which perhaps we should try first... or last ?! + """Gets lat long assuming that it has to get it from the associated stations """ - if self.easting and self.northing: - return utmToLatLng(33, float(self.easting), float(self.northing), northernHemisphere=True) + # if self.easting and self.northing: # hmm not a good idea I think + # return utmToLatLng(33, float(self.easting), float(self.northing), northernHemisphere=True) station = None if self.other_station: -- cgit v1.2.3