2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

still trying to find why 78d is duplicated

This commit is contained in:
Philip Sargent 2023-10-18 00:42:50 +03:00
parent 1cbbdad1b3
commit c0e4bee26b
2 changed files with 2 additions and 7 deletions

View File

@ -416,10 +416,7 @@ class Entrance(TroggleModel):
def latlong(self):
"""Gets lat long assuming that it has to get it from the associated stations
"""
# 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:
try:

View File

@ -259,13 +259,11 @@ def LoadPositions():
mappoints = {}
found_points = {}
pts = MapLocations().points()
i=0
for pt in pts:
svxid, number, point_type, ent = pt
i += 1
#((st, str(ent), ent.needs_surface_work(), ent))
if svxid in mappoints:
print(f" = seen this svxid {svxid} for {ent} already on {mappoints[svxid]} item {i}")
print(f" = seen this svxid {svxid} for {ent} already on entrance {mappoints[svxid]}")
else:
mappoints[svxid] = ent
if svxid =="1":