mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
still trying to find why 78d is duplicated
This commit is contained in:
parent
1cbbdad1b3
commit
c0e4bee26b
@ -416,10 +416,7 @@ class Entrance(TroggleModel):
|
|||||||
|
|
||||||
def latlong(self):
|
def latlong(self):
|
||||||
"""Gets lat long assuming that it has to get it from the associated stations
|
"""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
|
station = None
|
||||||
if self.other_station:
|
if self.other_station:
|
||||||
try:
|
try:
|
||||||
|
@ -259,13 +259,11 @@ def LoadPositions():
|
|||||||
mappoints = {}
|
mappoints = {}
|
||||||
found_points = {}
|
found_points = {}
|
||||||
pts = MapLocations().points()
|
pts = MapLocations().points()
|
||||||
i=0
|
|
||||||
for pt in pts:
|
for pt in pts:
|
||||||
svxid, number, point_type, ent = pt
|
svxid, number, point_type, ent = pt
|
||||||
i += 1
|
|
||||||
#((st, str(ent), ent.needs_surface_work(), ent))
|
#((st, str(ent), ent.needs_surface_work(), ent))
|
||||||
if svxid in mappoints:
|
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:
|
else:
|
||||||
mappoints[svxid] = ent
|
mappoints[svxid] = ent
|
||||||
if svxid =="1":
|
if svxid =="1":
|
||||||
|
Loading…
Reference in New Issue
Block a user