So I’ve done the research and have determined what Skyhook wireless and other Wi-Fi Mapping companies has done and it is ingenious! Ok, let me set the scene: Say you’re walking through the forest and spot an interesting tree. Right next to that is another interesting tree. If you end up walking in circles in the forest and you see those same two interesting trees you know where you are at that instant right?
Well… apply that same line of thinking to wireless access points (AP) anywhere in the world. Skyhook has went around the world mapping out all of the access points and linking them to GPS locations… Thus if your in a certain location and you see 5 wireless access points around you and one of them has a 99% signal. Odds are you are extremely close to that access point right? Send the information about that access point (like ssid and/or mac) to skyhook and they’ll send you back your most likely position. This is the perfect mix of technology and good old fashion logic.
Well I’ve spent the time putting together the components needed to do this very same mapping and I’m sharing it with you guys free… You will need a few things… a laptop with Wi-Fi and a GPS device.
As far as code goes, you’ll need the following two visual studio 2008 projects:
1. WifiScanner (755kb) – a program to be run on the laptop. It uses netsh and GPS (41kb) to map out all of the surrounding Wi-Fi access points. This map is uploaded via a SOAP call to our next program needed…
2. SOAP vGPS (56kb) – a server side application for databasing the mapped access points and returning results for finding your virtual GPS location.
The great thing about this project is the bigger the map gets the more accurate the vGPS becomes.
There are two directions these VS projects can go… the first is to complete the logging feature on the WifiScanner so the data can be captured off-line and uploaded at a later time… or second an offline and portable database can be created for personal use. This database can be updated as you drive and vGPS can be taken with you so if you are not using the real GPS device, the vGPS can act as a viable alternative.
Comment on all the things you do with this stuff below…
Wow! This is really cool! I can’t seem to download the files … could you make them available again?
My files server is down this morning… it’s at a remote location and probably had a power issue last night… heading over to turn it back on now…
The projects are no longer available. Could you please put them back online ?
Thank you in advance.
Had a little corruption on the vhd my virtuals were stored on. Lost the database virtual. Working to get that back up and running this week.
Would you share your project? Perhaps I can make it easier or more accurate to get your location from IP?
I did not need the ip location because I use WiFi triangulation. But I look at different sources for geolocation (just for my information).
My project on Microsoft Codeplex : http://geolock.codeplex.com/