| 1 | [[TranslatedPages]] |
| 2 | = File > Undelete object… = |
| 3 | |
| 4 | [[Image(source:osm/applications/editors/josm/plugins/undelete/images/undelete.svg,link=,48,middle,margin-right=20)]] ''Keyboard shortcut:'' **`Alt+Shift+U`** (provided by the ''undelete plugin'') |
| 5 | |
| 6 | **Undelete [wikitr:/Help/Concepts/Object OSM objects] by [wikitr:/Help/Concepts/Object#ObjectId id]** |
| 7 | |
| 8 | [[Image(UndeleteObject.jpg,link=,right,margin-left=20)]] |
| 9 | OSM objects are never deleted from the database but rather made invisible. To make an object visible again this action can be used. |
| 10 | Once the plugin is installed this action is available in the [wikitr:/Help/Menu/File File Menu]. |
| 11 | A dialog opens to enter the ids of the objects. |
| 12 | * The first letter of the object type needs to be placed right in front of the id, e.g. **`n`** for a [[JOSMImage(data/node)]] [wikitr:/Help/Concepts/Object#Nodes node], **`w`** for a [[JOSMImage(data/way)]] [wikitr:/Help/Concepts/Object#Ways way] and **`r`** for a [[JOSMImage(data/relation)]] [wikitr:/Help/Concepts/Object#Relations relation]. |
| 13 | * `n11001975` a [[JOSMImage(data/node)]] node |
| 14 | * `w11001975` a [[JOSMImage(data/way)]] way |
| 15 | * `r11001975` a [[JOSMImage(data/relation)]] relation |
| 16 | * Lists with white space (` `) or comma (`,`) as separator are accepted. |
| 17 | * `n11111111,r11001975,w276786264,r11001974,n256778555,n324564832` a list |
| 18 | * Optionally, the data can be loaded into a new layer by checking the box ''Download as new layer''. |
| 19 | |
| 20 | Deleted ways' nodes are undelete automatically by this action. |
| 21 | |
| 22 | == Advanced preferences == |
| 23 | `undelete.newlayer`:: Download as new layer (''default'': `false`) |
| 24 | `undelete.osmid`:: Last entered object ids |
| 25 | |
| 26 | == See also == |
| 27 | * [osmwiki:JOSM/Plugins/Undelete Undelete Plugin] OSM wiki page |
| 28 | * [osmwiki:Find_the_id_of_a_deleted_node Find the id of a deleted node] |
| 29 | |
| 30 | ---- |
| 31 | Back to [wikitr:/Plugins Plugins Help] \\ |
| 32 | Back to [wikitr:/Help/Menu/File Menu File] \\ |
| 33 | Back to [wikitr:/Help Main Help] |