Closed Shohreh closed 2 years ago
stations_gpx.waypoints
is a normal list. You remove an item like you remove an item from any other list. For example with filter:
>>> l = [1, 2, 3, 4, 5, 6, 7, 8]
>>> list(filter(lambda e: e % 2 == 0, l))
[2, 4, 6, 8]
Hello,
I went through the test.py, but didn't find if it's possible.
I was wondering if gpxpy provides a way to remove a waypoint from the array while in a loop:
Thank you.