I have managed to convert OSM data into GPX using OSMconvert, OSMfilter and finally GPSBabel. But I still have one question .

I now have a GPX file containing many routes en waypoints.

The GPSBabel command was

gpsbabel -i osm -f output.osm -o gpx -F output.gpx

This apperently produces the GPX file with the routes/waypoint. Is there a way to convert the filtered OSM file (output.osm) into a output.gpx that only has tracks (instead of routes/waypoints)?