old_node.timestamp = t
old_node.save_with_dependencies!
+ # tell the changeset we updated one element only
+ changeset.add_changes! 1
+
# save the changeset in case of bounding box updates
changeset.save!
end
@tags[k] = v
end
+ ##
+ # are the preconditions OK? this is mainly here to keep the duck
+ # typing interface the same between nodes, ways and relations.
+ def preconditions_ok?
+ in_world?
+ end
+
##
# dummy method to make the interfaces of node, way and relation
# more consistent.