I wanted to know what is the basic difference between a GPX track and route file
GPX routes are calculated by and on your GPS device or computer. If you think of tracks as detailed breadcrumb trails between point A and point B, a route is simply point A and point B, without any information in between. You can also think of it as an itinerary of waypoints.
If you go off course on a route, the path will recalculate based on your current location. Tracks are best suited when it's necessary to travel on a very specific path to reach the desired destination.
Routes are simply a sequence of waypoints for navigation. For example, it can calculate the bearing or the distance to the next point. Tracks are the actual recorded path.
A route is path that you plan, and a track is a path that you took. So say you plan a route in basecamp from A to B. Then you go out on your bike, and make a detour to check something out while enroute from A to B.
A route is a sequence of waypoints, its the plan for your navigation. A track is the recorded path you did actually follow while trying to implement the plan (the route).
As GPX files a different XML schema is used for routes and tracks. Here are examples: http://cycleseven.org/gps-waypoints-routes-and-tracks-the-difference
Originally, a GPX route was supposed to consists of only waypoints important to navigate along them from origin to destination, still allowing differences in the actual track taken due to, for instance, traffic conditions or construction sites. Hence, the GPX track was supposed to consists of a much more dense sequence of actually recorded locations on the way from waypoint to waypoint. A pretty good scheme can be found on Wikipedia.
Since Stefan's link is broken, you will find the latest official GPX definition and documentation at topografix.com.
However, GPX tracks are sometimes used for all purposes: planning tours, navigating (particularly when cycling or hiking) or recording the actual track.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With