diff --git a/lib/geocoder/sql.rb b/lib/geocoder/sql.rb index 669e262c066c338e073eb1a5b002db9c086b0c84..e2714ee436500a2cc7594e3f5a288d6fc9d65ea3 100644 --- a/lib/geocoder/sql.rb +++ b/lib/geocoder/sql.rb @@ -4,7 +4,7 @@ module Geocoder ## # Distance calculation for use with a database that supports POWER(), - # SQRT(), PI(), and trigonometric functions SIN(), COS(), ASIN(), and + # SQRT(), PI(), and trigonometric functions SIN(), COS(), ASIN(), # ATAN2(). # # Based on the excellent tutorial at: @@ -59,6 +59,9 @@ module Geocoder # and an options hash which must include a :bearing value # (:linear or :spherical). # + # For use with a database that supports MOD() and trigonometric functions + # SIN(), COS(), ASIN(), ATAN2(). + # # Based on: # http://www.beginningspatial.com/calculating_bearing_one_point_another #