]> 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 d44227dd85d77d07ec30db995041595d6dea3c92..90dee5f1dc43ceb424d1f78c934082d2370e0ce1 100644 (file)
@@ -53,12 +53,6 @@ private
       self.with_scope(:find => {:conditions => OSM.sql_for_area(minlat, minlon, maxlat, maxlon)}) do
         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
-