summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/models/caves.py5
-rw-r--r--parsers/locations.py4
2 files changed, 2 insertions, 7 deletions
diff --git a/core/models/caves.py b/core/models/caves.py
index 628679a..2d3e454 100644
--- a/core/models/caves.py
+++ b/core/models/caves.py
@@ -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:
diff --git a/parsers/locations.py b/parsers/locations.py
index 4745bc6..bdb2fff 100644
--- a/parsers/locations.py
+++ b/parsers/locations.py
@@ -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":