[SailfishDevel] Measuring distance with GPS

Tomasz Sterna tomek at xiaoka.com
Tue Jul 8 22:12:14 UTC 2014


Dnia 2014-07-08, wto o godzinie 21:32 +0200, Caliste Damien pisze:
> - if you sum up the distance between GPS fix at regular intervals
> (some seconds), you may end up with a total distance that is greater
> than the actual distance, especially because of some portions of your
> path that are not very accurate and put you away from your actual path
> (think about passing under a bridge, or your GPS is in your pocket, or
> you are close to the start of the GPS fix so the accuracy is still
> low…)

GPS coordinate oscillates around correct value.

I would advise to consider only distances that are over a predefined
threshold. i.e. ignore "moves" that are smaller than i.e. 15 meters.



-- 
smoku @ http://abadcafe.pl/ @ http://www.xiaoka.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140709/7b0baa3a/attachment.pgp>


More information about the Devel mailing list