Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50684

Re: GeoIP2 for retrieving city and region ?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <bsk16@case.edu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.423
X-Spam-Level ****
X-Spam-Evidence '*H*': 0.19; '*S*': 0.03; 'remaining': 0.07; 'number?': 0.16; 'reboot': 0.16; 'thereby': 0.16; 'too?': 0.16; 'sat,': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'to:name:python-list@python.org': 0.22; 'connected': 0.24; 'server.': 0.24; '(or': 0.24; 'mention': 0.26; 'header:In-Reply- To:1': 0.27; 'fixed': 0.29; '(this': 0.29; 'am,': 0.29; 'locations': 0.30; 'message-id:@mail.gmail.com': 0.30; '13,': 0.31; 'are.': 0.31; 'received:209.85.212': 0.32; 'running': 0.33; 'device': 0.34; 'received:209.85': 0.35; 'anywhere': 0.35; 'connection': 0.35; 'something': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'cities': 0.36; 'combination': 0.36; 'house,': 0.36; 'scheme': 0.36; 'changing': 0.37; 'received:209': 0.37; 'mine': 0.38; 'to:addr:python-list': 0.38; 'fact': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'even': 0.60; "google's": 0.60; 'is.': 0.60; 'phones': 0.60; 'most': 0.60; 'new': 0.61; 'matter': 0.61; "you're": 0.61; 'address': 0.63; 'our': 0.64; 'connecting': 0.64; 'map': 0.64; 'networking': 0.64; 'telling': 0.64; 'different': 0.65; 'laptop': 0.65; 'phone': 0.66; '8bit%:92': 0.71; '8bit%:100': 0.72; 'jul': 0.74; 'friends': 0.81; '10:43': 0.84; 'athens': 0.84; 'cars': 0.84; 'dhcp': 0.84; 'lease': 0.84; 'rooms': 0.84; 'skepticism.': 0.84; 'expires': 0.91; 'tied': 0.93; '2013': 0.98
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=h7jBTprUUAyi5We9Lheyg4VijH/Zn0RJIfkV7w4y7Ss=; b=ofA49OtTdU+1a1mlxEivCKXMQ+uFHCfe48s5yeX5uQPX2hUe9xIcKu2Vh5gA55Pi0w bPPVzJ26UuVNQIYJ1xv61mtp1Rkmt2WNOulvezBE3/dSarcZTvXl8zgsqsfNsnqYpCkA Z2KnRBu6A44AS71yIkYx7mL5CgxwquQhSW8CCsgxUaMJXv99MRV7C2v7C+Pv9aXvzolf y371e4h7938YrOzjmHw4EOub9IBnDLOjNmKEttZgV+vInKnnUZs1Iobu8siuonJQs97k 6cDouItAf1Gga0ymgAEAm0qA1gycMkvaU8fFU+hukY9wDj9wipavBtl0oFyDPhu9wMWN n7ng==
X-Received by 10.194.243.101 with SMTP id wx5mr27165782wjc.49.1373739455321; Sat, 13 Jul 2013 11:17:35 -0700 (PDT)
X-Received by 10.194.243.101 with SMTP id wx5mr27165779wjc.49.1373739455222; Sat, 13 Jul 2013 11:17:35 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <krs3jj$vnq$1@news.grnet.gr>
References <krp37d$jt$2@news.grnet.gr> <mailman.4638.1373643167.3114.python-list@python.org> <krp8nl$9kb$1@news.grnet.gr> <krpb3c$eol$1@news.grnet.gr> <mailman.4659.1373666847.3114.python-list@python.org> <krqop8$eol$2@news.grnet.gr> <mailman.4680.1373734493.3114.python-list@python.org> <krs3jj$vnq$1@news.grnet.gr>
From Benjamin Kaplan <benjamin.kaplan@case.edu>
Date Sat, 13 Jul 2013 11:17:15 -0700
Subject Re: GeoIP2 for retrieving city and region ?
To "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Gm-Message-State ALoCoQnJ1/f84c4zl5G6k1Oqkmkl2SyxeiB2c9rNaU6JA9r2sGN3dAIWPDVKgmD3poG3P3HW8RQxPkCwaz0hrpsqco7qJKroc7WtgVIonwA+8QHze1+ehfK0Da2ZyZkCvgEY1+IiUDirorz2EZipOhGEUFhA8ZAEQQ==
X-Junkmail-Whitelist YES (by domain whitelist at mpv1.tis.cwru.edu)
X-Mailman-Approved-At Mon, 15 Jul 2013 15:00:27 +0200
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4726.1373893228.3114.python-list@python.org> (permalink)
Lines 53
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373893228 news.xs4all.nl 15955 [2001:888:2000:d::a6]:50809
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50684

Show key headers only | View raw


On Sat, Jul 13, 2013 at 10:43 AM, Νικόλας <nikos@superhost.gr> wrote:
> Στις 13/7/2013 7:54 μμ, ο/η Dennis Lee Bieber έγραψε:
>>
>>         Are you paying for a fixed IP number? I suspect you are if you
>> were
>> running a world-accessible server.
>>
>>         Obviously a fixed IP will be tied to a fixed connection and
>> thereby to
>> a fixed location which can be provided to a location database.
>>
>>         But most of us have DHCP assigned IP numbers, which change
>> everytime we
>> reboot our connection (or even when the DHCP lease expires -- which may be
>> daily).
>
>
> Same networking scheme for me too, dynamic that is.
>
> Every time the DHCP lease expires or i reboot the router i get a new ip
> address but every time the link i provided states accurately that my ip
> address is from Thessaloníki and not Europe/Athens which is were my ISP
> location is.
>
> Not to mention that in facebook, no matter the way i'am joining, via
> smartphone, tablet, laptop it always pinpoints my exact location.
>
> But yes, i can understand your skepticism.
> An ip address can move anywhere while remaining connected to the same ISP,
> just like a networking device in the house, remains connected to the same
> router while changing rooms or even floors, or even buildings.
>
> But then how do you explain the fact that
> http://www.maxmind.com/en/geoip_demo
> pinpointed Thessaloníki and not Athens and for 2 friends of mine that use
> the same ISP as me but live in different cities also accurately identified
> their locations too?
>

It's not telling you where your ISP is headquartered. It's telling you
where the servers that you're connecting to are. In your case, you're
connecting to servers that your Athens-based ISP has in a Thessaloniki
datacenter. The only way to get an accurate location is to use
something other than IP- phones like to use a combination of their
GPS, a map of the cell phone towers, and a map of wi-fi hotspots (this
is one of the things that Google's StreetView cars log as they drive).

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 17:18 +0300
  Re: GeoIP2 for retrieving city and region ? Dave Angel <davea@davea.name> - 2013-07-12 11:32 -0400
    Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 18:52 +0300
      Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 19:32 +0300
        Re: GeoIP2 for retrieving city and region ? Grant Edwards <invalid@invalid.invalid> - 2013-07-12 16:38 +0000
          Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 02:47 +1000
          Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-12 19:04 -0400
            Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 08:48 +0300
              Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 15:53 +1000
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 09:07 +0300
                Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 16:22 +1000
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 09:28 +0300
                Re: GeoIP2 for retrieving city and region ? Lele Gaifax <lele@metapensiero.it> - 2013-07-13 10:12 +0200
                Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 12:48 -0400
                Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 12:59 -0400
                Re: GeoIP2 for retrieving city and region ? Wayne Werner <wayne@waynewerner.com> - 2013-07-13 13:35 -0500
          Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 10:36 +1000
          Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-12 19:42 -0400
        Re: GeoIP2 for retrieving city and region ? Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-12 11:19 -0600
        Re: GeoIP2 for retrieving city and region ? Terry Reedy <tjreedy@udel.edu> - 2013-07-12 18:07 -0400
        Re: GeoIP2 for retrieving city and region ? MRAB <python@mrabarnett.plus.com> - 2013-07-12 23:07 +0100
          Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 08:32 +0300
            Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 12:54 -0400
              Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 13:09 -0400
              Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 20:43 +0300
                Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 14:19 -0400
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 21:23 +0300
                Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 14:30 -0400
                Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-13 16:57 -0600
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-16 22:43 +0300
                Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-16 15:51 -0400
                Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-16 20:51 -0400
                Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-17 10:58 +1000
                Re: GeoIP2 for retrieving city and region ? Tim Chase <python.list@tim.thechases.com> - 2013-07-14 13:32 -0500
                Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 14:21 -0400
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 21:28 +0300
                Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 09:12 +1000
                Re: GeoIP2 for retrieving city and region ? Wayne Werner <wayne@waynewerner.com> - 2013-07-13 13:46 -0500
                Re: GeoIP2 for retrieving city and region ? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-07-13 11:17 -0700
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-15 16:25 +0300
                Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-15 20:34 -0400
                Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-15 20:48 -0600
                Re: GeoIP2 for retrieving city and region ? alex23 <wuwei23@gmail.com> - 2013-07-17 10:07 +1000
            Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 03:03 +1000
        Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-12 16:15 -0600
      Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-12 12:24 -0400
    Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-14 08:18 +0300
      Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 15:24 +1000
        Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-14 10:51 +0300
  Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 02:41 +1000

csiph-web