Question: how to edit gpx files?
Answer: Open the track log. ...  put your mouse over the cloud of points to be deleted, and write down the coordinates. Open the track log in your favourite text editor. ...  Search for the co-ordinates you wrote down, leaving off the last part for precision. Delete all points either side, by looking at the time.