Get twelve digits after decimal for latitude and longitude

前端 未结 2 695
离开以前
离开以前 2021-01-22 13:55

I have an application in which I have to get user\'s current location from latitude and longitude. For both the values, I have to get 12 digits after decimal.

This is th

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-22 14:20

    According to US Government

    The actual accuracy users attain depends on factors outside the government's control, including atmospheric effects and receiver quality. Real-world data collected by the FAA show that some high-quality GPS SPS receivers currently provide better than 3 meter horizontal GPS.gov

    This accuracy relates to 5 decimal places

    0.0001 = 11.1 m

    0.00001 = 1.11 m

    So an accuracy of 4 places is reasonable for an android device.

提交回复
热议问题