Commit 750f10105143dbef0039872edea837e25941c3e8

Authored by Aurélio A. Heckert
Committed by Larissa Reis
1 parent 4dd9f665

Georef module to help with distance calculations

Signed-off-by: Larissa Reis <larissa@colivre.coop.br>
Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
lib/noosfero/geo_ref.rb 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +module Noosfero::GeoRef
  2 +
  3 + KM_LAT = 111.2 # aproximate distance in km for 1 degree latitude
  4 + KM_LNG = 85.3 # aproximate distance in km for 1 degree longitude
  5 +
  6 +end
... ...