]> git.openstreetmap.org Git - rails.git/blobdiff - lib/geo_record.rb
Use quad tiling to select bugs in an area
[rails.git] / lib / geo_record.rb
index 4aa45531f37a6719c43aa7277896d358c96eda7c..90dee5f1dc43ceb424d1f78c934082d2370e0ce1 100644 (file)
@@ -54,12 +54,5 @@ private
         return self.find(:all, options)
       end
     end
-
-    def find_by_area_no_quadtile(minlat, minlon, maxlat, maxlon, options)
-      self.with_scope(:find => {:conditions => OSM.sql_for_area_no_quadtile(minlat, minlon, maxlat, maxlon)}) do
-        return self.find(:all, options)
-      end
-    end
   end
 end
-