module Geocoder::Calculations
def longitude_degree_distance(latitude, units = :mi)
This ranges from around 69 miles at the equator to zero at the poles.
Distance spanned by one degree of longitude at the given latitude.
#
def longitude_degree_distance(latitude, units = :mi) latitude_degree_distance(units) * Math.cos(to_radians(latitude)) end