Geofence problem

Giovanni G.a year ago

Hello,
i have a problem, when i create a geofence via api, using data in wkt format, the location is not correct,
I also tried to create the data from https://geojson.io/ but the result does not reflect my expectations.

Thanks for the support,
Giovanni

geojson.io:
correct

traccar:
incorrect

my wkt data to traccar
Italy

JCardusa year ago

Traccar uses latitude / longitude, you are creating with reverse coordinates (longitude / latitude)

Giovanni G.a year ago

Thanks for the support
Giovanni

Tysona year ago

Did you figure it out? If not, have a look at my solution in this thread:

https://www.traccar.org/forums/topic/multiline-and-polygon-features-use-lat-lon-but-single-line-uses-lon-lat/