On Thu, 9 May 2013 11:50:31 -0500
<Matt_Domsch(a)Dell.com> wrote:
https://github.com/mdomsch/geoip-city-wsgi
now has the decent start of a trivial lookup. It reads the IP address
from the incoming connection, and responds with the JSON-formatted
result from the GeoIP City lookup, which includes timezones. Plug
this into an apache web server and you're good to go. It doesn't do
IPv6 though - the python library doesn't support GeoIP City IPv6
lookups.
Cool. ;)
So, a dumb question here...
Have you looked at using geoclue instead?
http://www.freedesktop.org/wiki/Software/GeoClue
Dunno if it works too well or would meet your needs, but I thought I
would mention it before we go too far down the road to making our own
service.
kevin