Remove tags from deleted nodes
When ways or relations are deleted we remove their tags and there is no reason why nodes should be different.
This commit is contained in:
parent
79ad65895b
commit
a9ff3bfc4b
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ class Node < ActiveRecord::Base
|
|||
raise OSM::APIPreconditionFailedError.new("Node #{self.id} is still used by relation #{rel.relation.id}.") unless rel.nil?
|
||||
|
||||
self.changeset_id = new_node.changeset_id
|
||||
self.tags = {}
|
||||
self.visible = false
|
||||
|
||||
# update the changeset with the deleted position
|
||||
|
|
Loading…
Add table
Reference in a new issue