mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 08:17:35 +00:00
Better tag locations
This commit is contained in:
@@ -289,17 +289,17 @@ def eastings(request):
|
||||
ts = e.tag_station
|
||||
if ts:
|
||||
e.tag_ts = SurvexStation.objects.get(name=ts)
|
||||
print(f"{e} {e.tag_ts} {e.tag_ts.lat()} {e.tag_ts.long()}")
|
||||
#print(f"{e} {e.tag_ts} {e.tag_ts.lat()} {e.tag_ts.long()}")
|
||||
|
||||
es = e.exact_station
|
||||
if es:
|
||||
e.tag_es = SurvexStation.objects.get(name=es)
|
||||
print(f"{e} {e.tag_es} {e.tag_es.lat()} {e.tag_es.long()}")
|
||||
#print(f"{e} {e.tag_es} {e.tag_es.lat()} {e.tag_es.long()}")
|
||||
|
||||
os = e.other_station
|
||||
if os:
|
||||
e.tag_os = SurvexStation.objects.get(name=os)
|
||||
print(f"{e} {e.tag_os} {e.tag_os.lat()} {e.tag_os.long()}")
|
||||
#print(f"{e} {e.tag_os} {e.tag_os.lat()} {e.tag_os.long()}")
|
||||
|
||||
except:
|
||||
e.tag_ss = None
|
||||
|
||||
Reference in New Issue
Block a user