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