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

remove exact station

This commit is contained in:
2023-10-12 00:58:20 +03:00
parent 3b1fd56fe4
commit d3a7a9823a
10 changed files with 14 additions and 58 deletions

View File

@@ -286,11 +286,7 @@ def eastings(request):
if ts:
e.tag_ts = SurvexStation.objects.get(name=ts)
#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()}")
os = e.other_station
if os:
@@ -305,7 +301,7 @@ def eastings(request):
entrances = Entrance.objects.all()
for e in entrances:
if e.exact_station:
if e.other_station:
ents.add(e)
add_stations(e)
# if e.easting or e.northing: