Location accuracy

Anton Tananaev2 years ago
cosmic2 years ago

How does it actually works when location accuracy set to low in traccar client?

cosmic2 years ago

got it, thanks

Bob5 months ago

Using osmand http message, if I put accuracy value in meters, the Traccar UI will show a circle using this value as the diameter, and not (as expected) the radius.
Eg. Value placed in http string for accuracy parameter is 110, Traccar UI shows attribute named pair as 'Accuracy' with value of 0.11 km, whereas circle plotted in UI has a radius of 55 meters.

Is there a config setting to adjust the behavior of plotting of the accuracy circle being drawn.

Thanks

Anton Tananaev5 months ago

I believe we're using the API correctly, so I'm not sure why it would be incorrect:

https://github.com/traccar/traccar-web/blob/master/modern/src/map/main/MapAccuracy.js#L49

Bob5 months ago

Anton,

After conducting more testing, it may be a map projection issue. If I select an area around latitude 0, then the circle is drawn as expected. My initial testing was conduced around a much more northern latitude where the circle was approx 60% of the expected size. This is an approximate reading but close enough for me to initially believe it was a radius vs diameter issue.

Am I correct in presuming that the MapAccuracy.js file you referenced is not editable on a built/compiled system? I have searched for it on my server but cannot locate it.

Thanks for your support

Anton Tananaev5 months ago

It's the source code.

dima-simfer3 months ago

Hello, Anton. Is it still works?

High - GPS
Medium - cell and wifi
Low - passive

I have some strange behavior with android client 7.0 on Redmi A2+ (Android Go Edition). Frequency set to 150. Sim inserted. When I set accuracy to high, it works fine, but GPS consumes battery. When i set accuracy to low, it send coordinates only one time, when I start service. In medium accuracy it doesn't work at all, no connection to server, no messages about refreshing location, it always offline. Any ideas, what setting can do that? I have some different Redmi devices and all models works fine except that.

Anton Tananaev3 months ago

It should still work the same way. Have you enabled cell/wifi location in the settings?

dima-simfer3 months ago

Yes, you were right. I had to enable settings named "Google Location Accuracy" and "Wi-Fi scanning". Only both of them enabled will works. Thank you for your help.

dima-simfer2 months ago

Yes, and medium setting works only with sim-card inserted. Only wifi doesn't help.