Filter invalid: Ignore only the invalid position

Daniel Hölder19 days ago

Hi,

The filter.invalid filters the whole message if a position is invalid. Wouldn’t it be better if only the invalid position would be ignored and other data like battery level for instance would still be processed?

(Similar as the event.motion.processInvalidPositions and geolocation.processInvalidPositions options: otherData.processInvalidPositions)

Or is there already an option for that?

Anton Tananaev19 days ago

We have coordinates filtering, but I don't think it has invalid option. Also you can use computed attributes.

Daniel Hölder18 days ago

I‘m testing currently, if it can be solved with the coordinates filter (coordinates.maxError).

I didn’t manage to understand how computed attributes work, yet. Maybe, I should delve into.