Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.107 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.79; '*S*': 0.00; 'static': 0.04; '1100': 0.09; 'counting': 0.09; 'sure,': 0.09; 'address).': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'sat,': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; '(not': 0.18; "hasn't": 0.19; 'fairly': 0.24; 'train': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; '(which': 0.31; 'too.': 0.31; '13,': 0.31; 'probably': 0.32; 'maybe': 0.34; 'could': 0.34; 'anywhere': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'house,': 0.36; 'opposed': 0.36; 'east': 0.36; 'half': 0.37; 'wrong': 0.37; 'too': 0.37; 'two': 0.37; 'being': 0.38; 'connections': 0.38; 'to:addr :python-list': 0.38; 'little': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'changed': 0.39; 'users': 0.40; 'dave': 0.60; 'identify': 0.61; 'further': 0.61; 'address': 0.63; 'more': 0.64; 'link:': 0.72; 'elizabeth': 0.74; 'jul': 0.74; 'off,': 0.84; 'plotted': 0.84; 'angel': 0.91; 'journey': 0.93; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mJ0991lGMlCZk1heSsRCzNDMLaVl3aD473Ie7XclKKQ=; b=teygJRgmHD1Y+I6l8D35bR1SaMMnL1pAlq6wb7UK8d8xVceyFT2ySJRTM9Iq1lJCmx sktExbDNlPv/orImnfdztKeqSGgm1Bv+2Qb1BS2ghW79KlcLPF+kTaVoNIsOmhLu1Fww Wi4gbWmHo2MDfUZoGLtevy3Z8QG2BH5GFQwFmoxZ5tWFWVLoi6JavIczDGMx2DF4WJzy 2GGdIxu8HVeB3LVHEyGbEqcyNVOGfogunCl2ZR6sr9MZT09PfJjxhz6qZ1O+uMVTd/mC 53LCWqOQEXuCPixV7NhXfgYoitWhjZujcNX0D1BPr6G7y1OP2W/0r/rz5Bd3MkBxgs/s Zwag== MIME-Version: 1.0 X-Received: by 10.220.169.146 with SMTP id z18mr25003359vcy.80.1373647285438; Fri, 12 Jul 2013 09:41:25 -0700 (PDT) In-Reply-To: References: Date: Sat, 13 Jul 2013 02:41:25 +1000 Subject: Re: GeoIP2 for retrieving city and region ? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373647288 news.xs4all.nl 15988 [2001:888:2000:d::a6]:60010 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50543 On Sat, Jul 13, 2013 at 1:32 AM, Dave Angel wrote: >> >> There is definately i way to identify the users location based solely on >> its ip address as this site does it: http://www.geoiptool.com/ >> > > Sure, and as long as you don't mind it being 1000 miles off, you too can > claim to do it too. When I go to that site, the little pin is in Kansas, > which is 1100 miles from where I live on the east coast of the US. I have two IPs at this house, not counting the ones I could get off mobile connections (which are valid probably anywhere in the state, maybe further afield). One of them is plotted fairly accurately (not more than a couple of kilometers wrong), but the other is listed at Elizabeth and Bourke in the CBD... which is half an hour's train journey away from me. And the one that was wrong was the one that's actually an official static IP address (as opposed to a "technically dynamic but hasn't changed for a couple of years" address). Obligatory XKCD link: http://xkcd.com/713/ ChrisA