how to export the journeys in kml

Karim momo7 months ago

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

Anton Tananaev7 months ago

Use this API endpoint:

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

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

Anton Tananaev7 months ago

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

Karim momo7 months ago

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

Anton Tananaev7 months ago

I already said how.