Avoid positions on the middle of the ocean

Pablo Ramírez7 years ago

Hello!

I'm having a little problem: Sometimes, some devices report a wrong location far away (the middle of the ocean) of the real position.
I've configured the server to avoid that situation but somewhat it doesn't work as I expected:

My relevant config values are:

    <entry key='filter.enable'>true</entry>
    <entry key='filter.invalid'>true</entry>
    <entry key='filter.zero'>true</entry>
    <entry key='filter.maxSpeed'>true</entry>
    <entry key='filter.duplicate'>0</entry>
    <entry key='filter.distance'>0</entry>
    <entry key='filter.maxSpeed'>25000</entry>

    <entry key='distance.enable'>true</entry>
    <entry key='coordinates.filter'>true</entry>
    <entry key='coordinates.minError'>20</entry>
    <entry key='coordinates.maxError'>200000</entry>

What's wrong with my config file?

Anton Tananaev7 years ago

This is clearly wrong:

    <entry key='filter.maxSpeed'>true</entry>
    ...
    <entry key='filter.maxSpeed'>25000</entry>
Pablo Ramírez7 years ago

Oh! that is very clear now... Thank you!