Android: What is the minimum and maximum radius for geofence

不问归期 提交于 2019-12-10 18:47:43

问题


I am working on an Android app which makes use of geofence. I want user to decide the radius of geofence. But I want to know what is the minimum and maximum radius for the geofence so that app will work fine.


回答1:


Maximum- the radius of the earth. GPS is confirmed not to work on the moon.

Minimum- depends on the accuracy of your gps hardware, atmospheric conditions, etc. If everything is great, probably 10 meters reliably. If you fall back to network location, probably about 500 meters.




回答2:


For best results, the minimum radius of the geofence should be set between 100 - 150 meters.

=> When Wi-Fi is available location accuracy is usually between 20 - 50 meters.

=> When indoor location is available, the accuracy range can be as small as 5 meters. Unless you know indoor location is available inside the geofence, assume that Wi-Fi location accuracy is about 50 meters.

Check and read developer site

https://developer.android.com/training/location/geofencing.html

You can set 50-100 meters as minimum for all conditions.



来源:https://stackoverflow.com/questions/31527646/android-what-is-the-minimum-and-maximum-radius-for-geofence

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!