def walk(self, only_points=False):
        for point_no, point in enumerate(self.points):
            if only_points:
                yield point
            else:
                yield point, point_no
Generator for iterating over route points
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpx.py/GPXRoute.walk