Help with FilterHandler

tambiu5 years ago

Hi, anyone can help me how to config FilterHandler.java to make this changes below

if (filterDistance(position, last) && !skipLimit(position, last) && !skipAttributes(position)) {
            filterType.append("Distance ");

I want the filterDistance works with some modifications, example: when the device send positions like invalid,zero,and maxspeed , I would like that filterDistance works even when the devices send invalid positions with attributes included or filter skiplimit, because I have a lot of devices, that send zero, invalid, maxspeed positions with some attributes or using filter.skipLimit time, than this wrong data is registered in the database.

thanks a lot