We just got a new client who wants to personalize the content of his
site's pages based on user's geographical location (using the user's
IP for determining the location).
I came across http://geokit.rubyforge.org/ and it seems to be a pretty
good tool, however it has one downside:
It uses hostip.info's ip location database which seems somewhat
incomplete (i.e. it knows my office's ip address but did not know my
San Francisco home ip address - i'm thinking that if they can't
recognize a San Francisco ip address it is probably worse for places
I was wondering if anyone has came across some good ip location
databases (free or not) that can be easily queried from ruby and/or
rails. Once user's geo coordinates are known (lat/long), I could use
geokit.rubyforge.org for distance calculations using Google or Yahoo's
APIs (supported by geokit.rubyforge.org from what I could see).