From: Tom Hughes Date: Tue, 15 Jul 2008 23:15:53 +0000 (+0000) Subject: Remote Potlatch projection routines as they are no longer needed. X-Git-Tag: live~7731^2~3 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c878da25cf42d98f1666760549fd015c09f5dabe?ds=inline Remote Potlatch projection routines as they are no longer needed. --- 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)