2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 00:37:09 +00:00

Comments chnaged to be more accurate

This commit is contained in:
2023-09-30 20:35:40 +03:00
parent 904b6309cf
commit 8dcae6437e
3 changed files with 8 additions and 7 deletions

View File

@@ -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: