]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
be a bit smarter about enlarging the bbox (note to self: must remember to put this...
[rails.git] / app / models / old_relation.rb
index 6da7814c28a40d442e856239e09149b2ca8727c5..bac03c4d2eff6811a9dc4b5d2c32e3bb988e76b3 100644 (file)
@@ -107,5 +107,20 @@ class OldRelation < ActiveRecord::Base
       el1 << e
     end
     return el1
       el1 << e
     end
     return el1
-  end 
+  end
+
+  # Temporary method to match interface to nodes
+  def tags_as_hash
+    return self.tags
+  end
+
+  # Temporary method to match interface to relations
+  def relation_members
+    return self.old_members
+  end
+
+  # Pretend we're not in any relations
+  def containing_relation_members
+    return []
+  end
 end
 end