diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-10-18 00:42:50 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-10-18 00:42:50 +0300 |
commit | c0e4bee26b84c7f8f968c83284700cdf8ff0512f (patch) | |
tree | d62aab2abead4dbdb3e5de63e62623f301ada258 | |
parent | 1cbbdad1b3fd43619d0c4b7fed8abdf4d6057340 (diff) | |
download | troggle-c0e4bee26b84c7f8f968c83284700cdf8ff0512f.tar.gz troggle-c0e4bee26b84c7f8f968c83284700cdf8ff0512f.tar.bz2 troggle-c0e4bee26b84c7f8f968c83284700cdf8ff0512f.zip |
still trying to find why 78d is duplicated
-rw-r--r-- | core/models/caves.py | 5 | ||||
-rw-r--r-- | parsers/locations.py | 4 |
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": |