[Feature Request] Copy course attribute even if data sent is 0

I'm trying to find a way to save the course on new positions with the last one that's not 0. I have devices that will send 0 for the course once they stop moving and am looking for a fix. If this already exists please let me know.

Similar to this.

<entry key='processing.computedAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>course</entry>
Anton Tananaev7 years ago

You can only copy attributes (what goes into attributes database column), not basic GPS data, which includes course.

Is there a way to copy the previous course if the current course is 0?

Anton Tananaev7 years ago

The only way is to modify source code.