]> git.openstreetmap.org Git - rails.git/commitdiff
Remote Potlatch projection routines as they are no longer needed.
authorTom Hughes <tom@compton.nu>
Tue, 15 Jul 2008 23:15:53 +0000 (23:15 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 15 Jul 2008 23:15:53 +0000 (23:15 +0000)
lib/geo_record.rb

index 025bbe4a87b38b13a960751bdc2e63304e75e762..f1a923c42c1e48b3b0de75d2e67b744bdecea23a 100644 (file)
@@ -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)