[[TranslatedPages]] = Edit > Purge... = [[Image(source:trunk/images/purge.png)]] ''Keyboard shortcut'': '''{{{Ctrl+Shift+P}}}''' The purge action cleans up your data layer by removing the selected [Concepts/Object objects] from the layer. However, in contrast to the [[Image(source:trunk/images/dialogs/delete.png,20)]] [Action/EditDelete delete action], they '''will not be deleted''' on the server when you upload your changes. It is, as if JOSM completely forgets about these [Concepts/Object objects] and they never had been downloaded. == Warnings == === Dependent objects === When you purge a [[Image(source:trunk/images/data/node.png)]] [Concepts/Object#Nodes node] of a [[Image(source:trunk/images/data/way.png)]] [Concepts/Object#Ways way], that [[Image(source:trunk/images/data/way.png)]] [Concepts/Object#Ways way] cannot exist without its [[Image(source:trunk/images/data/node.png)]] [Concepts/Object#Nodes nodes], so it has to be purged as well. JOSM will give a warning in this case and lets you inspect the objects that need to be purged in addition to the original selection. The same holds, if you like to purge a new [Concepts/Object object] (id:0) that is member of a [[Image(source:trunk/images/data/relation.png)]] [Concepts/Object#Relations relation]. Members with a positive id can be purged without affecting the [[Image(source:trunk/images/data/relation.png)]] [Concepts/Object#Relations relation] relation. Their status will be ''{{{incomplete}}}'' after purging. If you get this warning, you can safely proceed, but be aware that more [Concepts/Object objects] are purged, than originally selected. === Modified objects === If you purge modified [Concepts/Object objects], these edits are lost. This can be intended, but you will get a warning in this case. == Clear Undo/Redo buffer == This option is supposed to free resources (memory). But don't rely on it (yet). If you are short of memory, it is still the best option to [[Image(source:trunk/images/save.png,20)]] [Action/Save save] the (partially purged) layer and reopen it in another instance of JOSM. == See also == * [[Image(source:trunk/images/dialogs/delete.png,20)]] [Action/Delete Delete] * [Concepts/Object Objects] ---- Back to [Menu/Edit Menu Edit][[Br]] Back to [wiki:/Help Main Help]