no attribute

Adrien2 years ago

hi,
we realise that among the data transferred by Traccar there is no "angle" attribute. how to get it in the query ?

{"position":{"fixTime":"2021-12-30T14:42:46.000+00:00","outdated":false,"course":16,"address":null,"accuracy":0,"network":{"radioType":"gsm","considerIp":false,"cellTowers":[{"cellId":5022,"locationAreaCode":813,"mobileCountryCode":624,"mobileNetworkCode":1}]},"protocol":"teltonika","dt_server":"2021-12-30T14:42:48.129+00:00","dt_tracker":"2021-12-30T14:42:46.000+00:00","loc_valid":true,"lat":4.0918966,"lng":9.7514333,"altitude":37,"speed":0,"params":{"priority":0,"sat":13,"event":0,"ignition":false,"motion":false,"workMode":0,"rssi":5,"io200":0,"gpsStatus":1,"di1":0,"out1":false,"di2":0,"di3":0,"out2":false,"io29":0,"io20":0,"io22":0,"io23":0,"io113":0,"pdop":0.7000000000000001,"hdop":0.4,"power":12.595,"io24":0,"io205":5022,"io206":813,"battery":0,"io68":0,"adc1":347,"io13":258,"axisX":-15,"axisY":-69,"axisZ":19,"io6":347,"io15":0,"temp5":0,"temp6":0,"temp7":0,"temp8":0,"io86":0,"io104":0,"io106":0,"io108":0,"operator":62401,"tripOdometer":0,"odometer":3626580,"io12":475325,"temp1":0,"temp2":0,"temp3":0,"io75":0,"di4":0,"io5":0,"io11":892370007,"io76":0,"io77":0,"io79":0,"io71":0,"io238":0,"io14":5006372593,"distance":0,"totalDistance":28.98,"ip":"129.0.60.2"},"net_protocol":"tcp","ip":"129.0.60.2","port":5027,"imei":"xxxxx"},"device":{"id":3,"attributes":[],"groupId":1,"name":"TestFMB120","uniqueId":"xxxxxx","status":"online","lastUpdate":"2021-12-30T14:42:48.122+00:00","positionId":391129,"geofenceIds":[1],"phone":"xxxx","model":"FMB120","contact":"xxx","category":"car","disabled":false}}

thanks

Anton Tananaev2 years ago

By "angle" do you mean the "course"?

Adrien2 years ago

hi,
no !
I would like to talk about something like this :

"angle":26

except if in traccar it is represented by course

thanks

Anton Tananaev2 years ago

What is the difference?

Adrien2 years ago

hi,
I would like to know if in traccar course is equal to angle (course==angle)?
thanks