Accuracy of GeoIP?

199 views
Skip to first unread message

Alan

unread,
Oct 27, 2011, 2:38:32 AM10/27/11
to Django users
Does anyone have experience with the accuracy of GeoIP? I'm getting
locations that are wildly off...

When I plug in the IP from http://whatismyipaddress.com/ I get
somewhere in the middle of Kansas when I'm in Chicago.

On the other hand using a Google IP address (mentioned in the example
below) correctly gives the lat/long of Mountain View

https://docs.djangoproject.com/en/dev/ref/contrib/gis/geoip/

I'm referencing data donwloaded from MaxMind:
http://geolite.maxmind.com/download/geoip/database/
As instructed by the link above.

I didn't run into any installation problems, so I assume there's a
data discrepancy somewhere; does anyone know of any known issues?

Thanks

Tom Evans

unread,
Oct 27, 2011, 5:31:28 AM10/27/11
to django...@googlegroups.com

GeoIP is wildly inaccurate, particularly the free version. Using it to
predict reliably any more than the correct country is risky, and even
that fails a lot. Many GeoIP databases put me in Germany because my IP
address belongs to DeutscheTelecom and is leased to my (UK) ISP.

Cheers

Tom

Ilya

unread,
Oct 27, 2011, 7:31:47 AM10/27/11
to django...@googlegroups.com
Alan, try out our geolocation solution: Geobaza. We recently updated our Python API and make Django app.

High accuracy level for US & exUSSR.


Feel free to send me your feedback ;)


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


Kurtis Mullins

unread,
Oct 27, 2011, 1:13:54 PM10/27/11
to django...@googlegroups.com
I just tried the demo and it put me about 2,500 miles away in Texas. Good luck!

Charles Cossé

unread,
Oct 27, 2011, 2:56:31 PM10/27/11
to django...@googlegroups.com
Hello, I've been using GeoIP for a few years ... but the trick is to use a different database than the default.  Don't know where to get it, but it's called: GeoLiteCity.dat  I'm sure it's readily available, but not with a default install (think). 

-Charles Cosse
AsymptopiaSoftware|Software@theLimit
          http://www.asymptopia.org

Alex Mandel

unread,
Oct 27, 2011, 11:53:41 PM10/27/11
to django...@googlegroups.com
You just need to go to the maxmind website to download it.
GeoIP free data also comes from them but is slightly older and on their
website you can choose country, city and regional datasets to use.

Thanks,
Alex

Reply all
Reply to author
Forward
0 new messages