Are you joining an end to a start?
Keep the two original recordings and open copies using different colours if your editor allows it. Mark their first and last points. On a ride from Station to Bridge to Pier, the desired join is the end of Station–Bridge and the start of Bridge–Pier. A track displayed in the opposite order can have exactly the same shape. Check time order on an actual recording as well as names.
If both parts meet at the same recorded point, a continuous track may describe the geometry well. If there was a long stop there, decide what to preserve about the timing. Two points at the same position with different times can record the passage of time during the stop. Removing a duplicate coordinate can change that information.
Which recorder captured the shared stretch?
Imagine starting a phone recording 600 m before the first recorder ran out of power. Both files contain the last stretch of towpath before the bridge. Appending the second recording wholesale would take a reader back down the towpath and through the same 600 m again. A junction that looks tidy at low zoom could contain a short out-and-back that never happened.
Find a common identifiable point in the overlap, such as a turn onto the bridge. Keep the first recording up to the chosen handover and the second from there onward. Compare the lines at a close scale and choose which readings you want if their clocks or elevation sources differ. If you intentionally retain both raw recordings for analysis, label them as separate tracks rather than turning them into a navigation course.
What if the two ends are on different banks?
Suppose the first file ends at one ferry pier and the next starts at another. You want one trip file, but you have no track for the crossing. Put the two pieces into separate segments or tracks. Choose the operation in your editor that groups the pieces without connecting their points. In gpx.studio check the chosen merge level against the resulting file tree before exporting.
Reopen the finished file, zoom to the join, and compare segment count, direction and total distance. Some viewers bridge gaps for display even when the file preserves them. If one does, inspect the segment structure independently. If the intended recipient needs a continuous planned route, map the missing connection using appropriate route information and describe it as a planned addition.
Sources & scope
What this answer is based on.
The data structures follow GPX 1.1. gpx.studio documents merge and crop operations. The pier, bridge and towpath are illustrative locations.