geocoding cell id into google maps …

Ok, I think I’ve reach that point where I need to stop and catch up on lost sleep …

There seems to be a lot of recent interest in location based technology, and now with the latest MyLocation functionality in Google Maps for Mobile (GMM), it wont be long before businesses start chomping at the bit to get their products/services mapped to make it easy for Joe Public to navigate to a shop or restaurant, using just a humble GSM mobile phone without GPS fitted.

So I thought I’d join this race and get myself up to speed with the latest tools and development ideas – hence the insomnia and radio silence (haha pun not intended!). Anyway, I’ve written a number of PHP scripts to geocode LAC/CID data from the RIL module on my Windows Mobile WM6 PDA into a seachable AJAX google map – in English, this means that my PDA is continuously updating my webserver with the GSM cell tower information which I am currently connected to, and I then turn this into geogaphical references (Latitude & Longitude) which are plottable on Google Map. And just for fun, I nicked someone’s code to reverse geocode the Lat/Long into Street Name, Town, Postcode, Country etc … click here to see my last reported position, click on the pushpin to get details of timestamp. Next step, a J2ME app that will work on most GSM phones to query the RIL for cell data, do some triagulation onsignal strength to determine the hotspot (cell towers don’t provide GPS accuracy) and update a MySQL database with an ‘invisible’ http session. Now that will be an interesting project …

Those of you who want to try this out, I’ve also knocked up a prototype script which you can access from http://fiftyone.no-ip.org/files/geocodecelltower3.php?lac=10&cid=16701 – you just need to put in the LAC (Local Area Code) and CID (CellID) – if you know what these are …

Happy locating!

Advertisements