diff --git a/siteupdate/cplusplus/classes/Waypoint/Waypoint.cpp b/siteupdate/cplusplus/classes/Waypoint/Waypoint.cpp index 818791a1..cc237a29 100644 --- a/siteupdate/cplusplus/classes/Waypoint/Waypoint.cpp +++ b/siteupdate/cplusplus/classes/Waypoint/Waypoint.cpp @@ -86,12 +86,6 @@ Waypoint::Waypoint(char *line, Route *rte) std::string Waypoint::str() { std::string ans = route->root + " " + label; - if (alt_labels.size()) - { ans += " [alt: ['" + alt_labels[0] + '\''; - for (size_t i = 1; i < alt_labels.size(); i++) - ans += ", \'" + alt_labels[i] + '\''; - ans += "]]"; - } char coordstr[51]; sprintf(coordstr, "%.15g", lat); if (!strchr(coordstr, '.')) strcat(coordstr, ".0"); // add single trailing zero to ints for compatibility with Python diff --git a/siteupdate/python-teresco/siteupdate.py b/siteupdate/python-teresco/siteupdate.py index 84222f48..545f6931 100755 --- a/siteupdate/python-teresco/siteupdate.py +++ b/siteupdate/python-teresco/siteupdate.py @@ -381,11 +381,7 @@ def __init__(self,line,route,datacheckerrors): self.near_miss_points = None def __str__(self): - ans = self.route.root + " " + self.label - if len(self.alt_labels) > 0: - ans = ans + " [alt: " + str(self.alt_labels) + "]" - ans = ans + " (" + str(self.lat) + "," + str(self.lng) + ")" - return ans + return self.route.root + " " + self.label + " (" + str(self.lat) + "," + str(self.lng) + ")" def csv_line(self,id): """return csv line to insert into a table"""