first you download the Code from the Github and open index.html.
with this javascript you can export the route from your GPS device from Traccar.
-
the web address of your Traccar server (http://yourtraccar.com),
-
the port from your Traccar (8082),
-
your login email (your@mail.com),
-
your password from Traccar server (password),
-
the ID from your GPS device (1),
if you don't know the ID you can find it out at (http://yoursever.com:8082/api/devices/)
-
the name of your GPS device
-
Start from the route,
-
End from the route,
-
Creator of the GPX file or driver,
-
Description of the route (from A to B),
-
Filename (my device, 2022-09-22, from a to b),
the values in the brackets are only examples, you have to replace them against you.
It is important that the Traccar server is set to the correct time zone, otherwise the times will not be retrieved correctly and the route will be distorted.