Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are the W3C geolocation API accuracy parameter in diameter or radius of your position?

Maybe i got my head around this wrong, after stfw i could not find any info on this. When the geolocation api returns your position with latitute, longitude and accuracy (p.coords.accuracy), does the accuracy parameter return diameter or radius of your position? For instance, if accuracy of my position is 24 meters, does that mean i could be standing anywhere within a radius of 24 meters of my position, or within 12 meters radius of my position (that would give a 24 meters diameter, me being in the middle of the circle of accuracy)

Any help appreciated!

like image 204
Mikkel Avatar asked Sep 22 '10 15:09

Mikkel


People also ask

How accurate is the Geolocation API?

It has the highest accuracy; in most Android smartphones, the accuracy can be up to 10 metres. Mobile phone tracking is used if a cellphone or wireless modem is used without a GPS chip built in.

What does the w3c geolocation API do?

The Geolocation API provides access to geographical location information associated with the hosting device.

What is the Geolocation API with the Geolocation API you can obtain?

The Geolocation API is a very simple API that allows to get a device's current location coordinates. It has only two methods: getCurrentPosition and watchPosition and the data returned is very straightforward, but when coupled with a mapping API, complex location-aware web apps can be created.

How accurate is HTML geolocation?

A desktop browser is likely to use WiFi (accurate to 20m) or IP Geolocation which is only accurate to the city level and can provide false positives. Mobile devices tend to use triangulation techniques such as GPS (accurate to 10m and only works outside), WiFi and GSM / CDMA cell IDs (accurate to 1000m).


1 Answers

It would be the radius. So if the accuracy is 24, then the true position is within 24 meters, which would mean it would lie within a circle with radius 24 around the coordinate.

like image 121
YWE Avatar answered Oct 12 '22 23:10

YWE