How does precise GeoLocation in HTML5 work?

Dave

This is quite a long winded question, you can just skip to the last sentence if you don't care about the background info.

I just tested out HTML5 geolocation using Firefox 3.5+, and it managed to find my house, literally my exact address. I've been reading about how it works but can't find any detailed information, it says it collects information about local access points and then forwards this information to Google.

I checked this out by testing it out on my wired PC, and it wasn't even close. So it definitely uses wireless. I checked out another service called Skyhook which works similarly, and their "How it works" page says they have a database with thousands of wireless points stored, so when you connect it simply looks up wireless points around you.

Sounds like a perfect secondary job for the Google Street View van, though everywhere I've read I can't figure out if Google uses the same technique.

I'm wondering how Google's geolocation works, whether they also store a huge database of wireless access points, or if there are other methods that can do this.

Sathyajith Bhat

whether they also store a huge database of wireless AP points,

Well, that's one way of how it works, according to their blog:

Google Maps asks your web browser for your location. Typically, your browser uses information about the Wi-Fi access points around you to estimate your location. If no Wi-Fi access points are in range, or your computer doesn't have Wi-Fi, it may resort to using your computer's IP address to get an approximate location. As you'd expect, the accuracy of My Location varies with your location, and in some cases, Google Maps may not be able to provide a location at all.

W3C Geolocation API, however mentions

The Geolocation API defines a high-level interface to location information associated only with the device hosting the implementation, such as latitude and longitude. The API itself is agnostic of the underlying location information sources. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs, as well as user input. No guarantee is given that the API returns the device's actual location.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

why does an html5 app work differently in the browser than it does in Cordova (Android)?

분류에서Dev

Symfony2 : IvoryGoogleMapBundle의 HTML5 Geolocation API

분류에서Dev

Why and how does this work?

분류에서Dev

How does this work in javascript

분류에서Dev

endturnwithnextparticipants, how does it work?

분류에서Dev

How does SimpleCORSFilter work?

분류에서Dev

Phonegap how does it work?

분류에서Dev

How does HDMI over CAT5 work?

분류에서Dev

Javascript 및 HTML5 Geolocation-위치를 저장하는 방법?

분류에서Dev

How does collect static work?

분류에서Dev

How does "newElements" work in Javascript?

분류에서Dev

How does scanr work? Haskell

분류에서Dev

how does readyRead() work in Qt?

분류에서Dev

How does this pointer typecasting work?

분류에서Dev

How does shared hosting work?

분류에서Dev

How does ServiceNameQuery work in AngularJS

분류에서Dev

How does the INTERVAL datatype work?

분류에서Dev

How does file compression work?

분류에서Dev

How does Windows API work?

분류에서Dev

How does -Infinity actually work?

분류에서Dev

how does int*& variableName work ?

분류에서Dev

How does 'telnet localhost' work?

분류에서Dev

How to Reset video using html5

분류에서Dev

HTML5의 정확한 GeoLocation은 어떻게 작동합니까?

분류에서Dev

HTML5 "picture"-Tag doesn't work

분류에서Dev

CSS content: attr() on HTML5 progress doesn't work

분류에서Dev

Do HTML5 elements "work" in non-HTML5 doctypes?

분류에서Dev

How does return work for a function local variable?

분류에서Dev

How does ForkJoinPool#awaitQuiescence actually work?