You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/08/15 12:17:12 UTC

[GitHub] [cordova-plugin-geolocation] breautek edited a comment on issue #174: getCurrentPosition on my mobile device returns only 9 digits. How can I get more digits (42.123456789101112123)?

breautek edited a comment on issue #174: getCurrentPosition on my mobile device returns only 9 digits. How can I get more digits (42.123456789101112123)?
URL: https://github.com/apache/cordova-plugin-geolocation/issues/174#issuecomment-521619937
 
 
   Short answer is you cannot make the phone more precise. 
   
   Long answer is you shouldn't have a need to make the phone more precise...
   
   15 places after the decimal is like centimeters of accuracy.
   
   Most mobile phones only have the capability of giving you a GPS point with about 3-5 meter accuracy. And to get a meter accuracy, you only need approximately 5 digits after the decimal.
   
   I've provided a proof case here:
   https://runkit.com/embed/9v79e9hlwjlc
   
   Therefore, the first 5-6 digits after the decimal is the most significant, and due to the 3-5 meter accuracy, generally speaking the remaining digits is usually just noise.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org