X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/34d9360bee4c1f277bb908280ca3daa6f3d88aa9..c878da25cf42d98f1666760549fd015c09f5dabe:/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)