X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cfc14f1ddc0b451dbfdd5994e5672b2f1b11e0a8..fa3c97d6a69ae9937a49eb38fce434e122a6678c:/lib/geo_record.rb diff --git a/lib/geo_record.rb b/lib/geo_record.rb index 025bbe4a8..f1a923c42 100644 --- a/lib/geo_record.rb +++ b/lib/geo_record.rb @@ -37,15 +37,6 @@ module GeoRecord return self.longitude.to_f / 10000000 end - # Potlatch projections - def lon_potlatch(baselong,masterscale) - (self.lon-baselong)*masterscale - end - - def lat_potlatch(basey,masterscale) - -(lat2y(self.lat)-basey)*masterscale - end - private def lat2y(a)