diff options
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: |