title: is there some algorithm for save a finest route gps android
body: <p>When we save coordinates gps in android , We know the gps is not precise
  for example , Here the blue point is the real coordinates, the red points is the gps gets in several attempts</p>
  
  <p><a href="https://i.stack.imgur.com/ATVgn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ATVgn.png" alt="enter image description here"></a></p>
  
  <p>this is (not a real ) route, after we drawn the lines if you have (driven/walking/moved)</p>
  
  <p><a href="https://i.stack.imgur.com/lp1oG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lp1oG.png" alt="enter image description here"></a></p>
  
  <p>this is (other fake ) route which is much more fine, 
  is there some algorithm/code for get this result ?
  <a href="https://i.stack.imgur.com/k23MR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k23MR.png" alt="enter image description here"></a></p>