Categories

Where are your users?

Imagine you knew where you users were so you could plan better transport for them to meetings, or calculate the distance to nearest transport hubs when organising business trips? Perhaps it goes much deeper. Maybe you need to know how often they change, or, if they’re logging into your system from overseas (perhaps through a VPN?).

In China it’s not such a good idea to rely on Google to do this as the service is throttled and intermittently unresponsive… frustratingly unresponsive.  Sina Weibo, the Twitter of China has GeoLocation based on IP’s as part of their API (http://open.weibo.com/wiki/Geocode/ip_to_geo). We can get this from a IP request:

http://api.t.sina.com.cn/location/geocode/ip_to_geo.xml?ip=60.194.172.177&source=$appkey

 

Now I need to see how good and accurate this on 500 users. I can accept a 10% deviation… and I’m actually wondering how close the latitude and longitude really is. If I can actually get it within 200m of a major exchange I’d be happy but something tells me things are not that organised :)

Leave a comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">