bfabiszewski / ulogger-android

μlogger • android application for real-time collection and publishing of geolocation data
GNU General Public License v3.0
306 stars 51 forks source link

Feature request: filter runaway values #139

Open Nadyita opened 1 month ago

Nadyita commented 1 month ago

I use an external GNSS via bluetooth and location mocking. Sometimes, it will give me runaway values if ntrip is having issues:

id    time                 user_id  track_id  latitude  longitude  altitude  speed  bearing  accuracy
----  -------------------  -------  --------  --------  ---------  --------  -----  -------  --------
2419  2024-09-26 20:44:10  1         9        52.XXXXX  9.XXXXXXX   96.145   12.XX  133.XXX   3       
2420  2024-09-26 20:44:11  1         9         0.0      0.0          0.0      0.0     0.0     4       
2421  2024-09-26 20:44:12  1         9         0.0      0.0          0.0      0.0     0.0     6       
2422  2024-09-26 20:44:13  1         9         0.0      0.0          0.0      0.0     0.0     9       
2423  2024-09-26 20:44:15  1         9         0.0      0.0          0.0      0.0     0.0    17      
2424  2024-09-26 20:44:16  1         9         0.0      0.0          0.0      0.0     0.0    23      
2425  2024-09-26 20:44:17  1         9        52.XXXXX  9.XXXXXXX  100.545    0.0X   42.XXXX  3

Would it be possible to filter out these 0.0/0.0 values with an option, or filter runaway values if the distance between 2 adjacent points is over a given threshold?

bfabiszewski commented 1 month ago

I don't plan to add any filtering here. I want all the filtering be done on the server side. I plan to add some filters there. Filtering out garbage would be nice.