2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-18 19:47:16 +00:00

x/y distances between explicit data and survey points

This commit is contained in:
2023-10-11 01:03:28 +03:00
parent 973f9bedd5
commit d6a3006444
6 changed files with 105 additions and 60 deletions

View File

@@ -158,9 +158,11 @@ class Cave(TroggleModel):
for e in CaveAndEntrance.objects.filter(cave=self):
if e.entrance.best_station() and e.entrance.best_station() != "":
#print(self, e, e.entrance.best_station())
if e.entrance.best_station_object().x:
# print(f"{self} {e.entrance.best_station_object()} {e.entrance.best_station_object().x}")
try:
x = e.entrance.best_station_object().x
no_data = False
except:
pass
return no_data
def singleentrance(self):