X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..3f3ffdfea1ecb57fb95e24b71ed070c8f9fbedbd:/lib/geo_record.rb diff --git a/lib/geo_record.rb b/lib/geo_record.rb index 61185a314..09ced9729 100644 --- a/lib/geo_record.rb +++ b/lib/geo_record.rb @@ -38,10 +38,4 @@ module GeoRecord def lon longitude.to_f / SCALE end - - private - - def lat2y(a) - 180 / Math::PI * Math.log(Math.tan(Math::PI / 4 + a * (Math::PI / 180) / 2)) - end end