how to export the journeys in kml

Karim momo9 months ago

Hello,
how to export the journeys in kml ? when I export it comes to excel.
I have installl traccar 6.0

Anton Tananaev9 months ago

Use this API endpoint:

GET /api/positions/kml?deviceId=x&from=x&to=x
Karim momo9 months ago

please which file should I modify to add? the traccar.xml file?

Anton Tananaev9 months ago

You don't need to modify any files. It's enabled by default.

Karim momo9 months ago

in this case how to use it to get kml file?

Anton Tananaev9 months ago

I already said how.