Avoid zero coordinate from Device

MuhHuz6 years ago

Hi Anton, is possible to avoid insert record from device when device send latitude 0 and longitude 0. in my database, theres a lot of zero coordinate recorded. what is best way to avoid this?

Anton Tananaev6 years ago

Have you read documentation before asking? There is a special filter for zero coordinates.

MuhHuz6 years ago

Sorry Anton, i could't find in doc about zero coordinates configuration. i try to read all the doc. thanks

Anton Tananaev6 years ago

I'm not sure how you are searching, but Googling "traccar avoid zero coordinate" instantly gives you an answer in the first result. How exactly did you do the search?

MuhHuz6 years ago

the google show me the blank page with text below. it happen about an hours ago :(

Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?

IP address: xx.xxxx.xx
Time: 2018-09-22T03:32:28Z
URL: https://www.google.co.id/search?q=zero+coordinates+traccar&oq=zer&aqs=chrome.2.69i57j69i61j69i59j69i60.3896j0j7&sourceid=chrome&ie=UTF-8
MuhHuz6 years ago

the google capcha can't show correctly

Anton Tananaev6 years ago

OK, so how did you do the search then? Which search engine have you used instead?

MuhHuz6 years ago

i just open the Doc page here https://www.traccar.org/documentation/ and open then find it.

Anton Tananaev6 years ago

OK, which pages have you looked at there? There is a link to configuration file there that explains how to configure zero coordinate filtering.

MuhHuz6 years ago

Ok got it.

filter.zero

in config.

Thank you Anton

Anton Tananaev6 years ago

No, I want to know what search you did before asking for help here.

MuhHuz6 years ago

i don't do search caused google in my browser shown blank page. even i use traccar search, traccar search also user google. so i decided to go to the doc page hope i get the solution. then i use Bing.c*m search engine, and got the config. sorry asking in here before search in google.

Anton Tananaev6 years ago

Which documents have you looked at before asking?

MuhHuz6 years ago

i assume the filter can be found in Optimization section, but it was wrong, i did't expect the filter.zero located in Configuration File. the root cause why i asking is i got a lot of zero coordinates in my table. thats it.