cjheath / geoip

The Ruby gem for querying Maxmind.com's GeoIP database, which returns the geographic location of a server given its IP address

Home Page:http://geoip.rubyforge.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I get the distance between 2 ip addresses?

debugging opened this issue · comments

Given 2 ip addresses, can I figure out the distance between the 2 in miles?

Geoip can usually give you the latitude & longitude. I'm sure wikipedia or google can tell you how to calculate the distance.