Here's a quick look at how to edit a GPX file...
The route below runs from RobbinsvilleNC, to TellicoPlainsTN, to LUNCH at TwoWheelsOnly, to HelenGA, to FranklinNC.
The objective is to remove the TRACK information and WAYPOINTs except for the lunch stop. Sometimes I leave the lunch stop waypoint and import it as a favorite. That way if along the route I want to bail and head for lunch early, I can STOP routing, WHERE TO, FAVORITES, and head to lunch. Nothing stands between me and my stomach.
There is more than one way to remove the TRACK information. My usual method is build the route in Google/TYRE, then open the GPX in MapSource to compare the TRACK to the recalculated MapSource route. When I get the two to agree, I delete the TRACK from inside MapSource and save as GPX. That still leaves the WAYPOINTs, which is the reason for the final step using NOTEPAD to delete them. But you can go straight to NOTEPAD if you trust the route to run correctly on your GPS, and delete both the WAYPOINTs and TRACK info using NOTEPAD.
Note that in GPX files, every data string begins with some sort of <TAG> and ends with a </TAG>. As long as you make sure to keep them paired up, you can edit away! Make sure to leave that last </GPX> tag at the very end.
ORIGINAL GPX FILE CREATED BY GoogleMaps/TYRE:
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.0" creator="HaulinAshe" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.topografix.com/GPX/1/0" xsi:schemaLocation="https://www.topografix.com/GPX/1/0 https://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2011-01-19T08:03:31Z</time>
<wpt lat="35.32287" lon="-83.80740">
<name>robbinsville, nc, usa</name>
</wpt>
<wpt lat="35.36286" lon="-84.29409">
<name>tellico plains, tn, usa</name>
</wpt>
<wpt lat="34.68889" lon="-84.02222">
<name>LUNCH, TwoWheelsOnly, SuchesGA</name>
</wpt>
<wpt lat="34.70148" lon="-83.73157">
<name>helen, ga, usa</name>
</wpt>
<wpt lat="35.18232" lon="-83.38154">
<name>franklin, nc, usa</name>
</wpt>
<rte>
<name>LunchAtTwoWheels</name>
<rtept lat="35.32287" lon="-83.80740">
<name>robbinsville, nc, usa</name>
</rtept>
<rtept lat="35.36286" lon="-84.29409">
<name>tellico plains, tn, usa</name>
</rtept>
<rtept lat="34.68889" lon="-84.02222">
<name>LUNCH, TwoWheelsOnly, SuchesGA</name>
</rtept>
<rtept lat="34.70148" lon="-83.73157">
<name>helen, ga, usa</name>
</rtept>
<rtept lat="35.18232" lon="-83.38154">
<name>franklin, nc, usa</name>
</rtept>
</rte>
<trk>
<name>LunchAtTwoWheels</name>
<trkseg>
<trkpt lat="35.32276" lon="-83.80738"><ele>0.000000</ele></trkpt>
<trkpt lat="35.32256" lon="-83.80957"><ele>0.000000</ele></trkpt>
<trkpt lat="35.32256" lon="-83.80957"><ele>0.000000</ele></trkpt>
... Many, MANY more trackpoint entries, then at the very end...
</trkseg>
</trk>
</gpx>
Next I used NOTEPAD to remove the unwanted WAYPOINTs and TRACK information, leaving one waypoint and the RTE (route) information:
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.0" creator="HaulinAshe" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.topografix.com/GPX/1/0" xsi:schemaLocation="https://www.topografix.com/GPX/1/0 https://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2011-01-19T08:03:31Z</time>
<wpt lat="34.68889" lon="-84.02222">
<name>LUNCH, TwoWheelsOnly, SuchesGA</name>
</wpt>
<rte>
<name>LunchAtTwoWheels</name>
<rtept lat="35.32287" lon="-83.80740">
<name>robbinsville, nc, usa</name>
</rtept>
<rtept lat="35.36286" lon="-84.29409">
<name>tellico plains, tn, usa</name>
</rtept>
<rtept lat="34.68889" lon="-84.02222">
<name>LUNCH, TwoWheelsOnly, SuchesGA</name>
</rtept>
<rtept lat="34.70148" lon="-83.73157">
<name>helen, ga, usa</name>
</rtept>
<rtept lat="35.18232" lon="-83.38154">
<name>franklin, nc, usa</name>
</rtept>
</rte>
</gpx>