diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-30 20:35:40 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-30 20:35:40 +0300 |
commit | 8dcae6437e354b2e44064692289b88c9d9a90ad1 (patch) | |
tree | 4775a285b6f72d692c47ede2fd7392b193faa8e3 /core/models/caves.py | |
parent | 904b6309cf131ee6fc7e2ea8ae04f27da377f66a (diff) | |
download | troggle-8dcae6437e354b2e44064692289b88c9d9a90ad1.tar.gz troggle-8dcae6437e354b2e44064692289b88c9d9a90ad1.tar.bz2 troggle-8dcae6437e354b2e44064692289b88c9d9a90ad1.zip |
Comments chnaged to be more accurate
Diffstat (limited to 'core/models/caves.py')
-rw-r--r-- | core/models/caves.py | 7 |
1 files changed, 3 insertions, 4 deletions
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: |