[[TranslatedPages]] = Context Menu > OSM Data Layer = A Data layer contains map data objects downloaded from OpenStreetMap or created and edited by users, usually meant to upload them back to OSM. Special [#Layerstate layer states] may block this. === Context menu ===#Contextmenu OSM data layers have following context menu: || [[Image(source:trunk/images/dialogs/activate.svg,link=wikitr:/Help/Dialog/LayerList#ActivateLayer)]] ||\ || [wikitr:/Help/Dialog/LayerList#ActivateLayer Activate] ||\ || **`Shift+A`⤳`[0–9]`** ||\ || || [[Image(source:trunk/images/dialogs/showhide.png,link=wikitr:/Help/Dialog/LayerList#VisibilityLayer)]] ||\ || [wikitr:/Help/Dialog/LayerList#VisibilityLayer Show/Hide] ||\ || **`Shift+S`⤳`[0–9]`**||\ || || [[Image(source:trunk/images/dialogs/delete.png,link=wikitr:/Help/Dialog/LayerList#DeleteLayer)]] ||\ || [wikitr:/Help/Dialog/LayerList#DeleteLayer Delete] || ||\ || |||| || [[Image(source:trunk/images/dialogs/mergedown.png,link=wikitr:/Help/Action/MergeLayer)]] ||\ || [wikitr:/Help/Action/MergeLayer Merge] || ||\ || || [[Image(source:trunk/images/dialogs/duplicatelayer.png,link=wikitr:/Help/Action/DuplicateLayer)]] ||\ || [wikitr:/Help/Action/DuplicateLayer Duplicate] || ||\ || || [[Image(source:trunk/images/save.png,link=wikitr:/Help/Action/Save)]] ||\ || [wikitr:/Help/Action/Save Save] || ||\ || || [[Image(source:trunk/images/save_as.png,link=wikitr:/Help/Action/SaveAs)]] ||\ || [wikitr:/Help/Action/SaveAs Save as ...] || ||\ || || [[Image(source:trunk/images/exportgpx.png,link=wikitr:/Help/Action/GpxExport)]] ||\ || [wikitr:/Help/Action/GpxExport Export to GPX ...] ''(only in [wikitr:/Help/ExpertMode expert mode])'' || ||\ || || [[Image(source:trunk/images/converttogpx.png,link=wikitr:/Help/Action/ConvertToGpxLayer)]] ||\ || [wikitr:/Help/Action/ConvertToGpxLayer Convert To GPX Layer] ''(only in expert mode)'' || ||\ || |||| || [[Image(source:trunk/images/dialogs/edit.png,link=wikitr:/Help/Action/RenameLayer)]] ||\ || [wikitr:/Help/Action/RenameLayer Rename Layer] || ||\ || || [[Image(source:trunk/images/no_upload.svg,link=wikitr:Help/Action/EncourageDiscourageUpload)]] ||\ || [wikitr:Help/Action/EncourageDiscourageUpload Discourage upload] ''(only in expert mode)'' || ||\ || || || [wikitr:/Help/Action/DataConsistantyTest Data consistency test] || ||\ || |||| || [[Image(source:trunk/images/info.png,link=wikitr:/Help/Action/LayerInfo)]] ||\ || [wikitr:/Help/Action/LayerInfo Info] || ||\ || === Layer State ===#Layerstate By default all actions are possible with the OSM data in a layer. But the three switches Upload, Download and Locked can change this: ||||= Switch =||= Upload =||= Download =||= Locked =||= Behaviour =||\ || ||||= key name=||= `upload` =||= `download` =||= `locked` =||= =||\ || || [[Image(source:trunk/images/layer/osmdata_small.png,link=)]] ||\ || Default || || || ||\ || No special behavior. ||\ || || [[Image(Help/Menu/OSMLayer:noupload.png,link=)]] ||\ || Upload discouraged || `false` || || ||\ || A warning before the upload appears. ||\ || || [[Image(Help/Menu/OSMLayer:noupload.png,link=)]] ||\ || Upload blocked || `never` || || ||\ || Uploading is not possible, the upload button is greyed out. ||\ || || [[Image(Help/Menu/OSMLayer:nodownload.png,link=)]] ||\ || Download blocked || || `never` || ||\ || The downloaded data goes into another layer which doesn't block downloads if available. Otherwise a new layer is created. ||\ || || [[Image(Help/Menu/OSMLayer:nodownloadnoupload.png,top,link=)]] ||\ || Upload and download blocked || `never` || `never` || ||\ || The combination of the two states above. ||\ || || [[Image(Help/Dialog/LayerList:lock-16px.svg,13,link=)]] ||\ || Locked || || || `true` ||\ || This includes `download=never` and `upload=never` and additionally blocks any editing of the data. ||\ || The Upload switch can be toggled to `false` with [wikitr:/Help/Action/EncourageDiscourageUpload Discourage upload] in the context menu mentioned above. For all other states the switches must be edited in the .osm-file with a text editor. The switches are optional parts of the osm key in the second line. {{{#!xml # Default: # Upload discouraged: # Upload blocked: # Download blocked: # Upload and download blocked: # Locked: }}} ---- Back to [wikitr:/Help/Dialog/LayerList Layer List Dialog]\\ Back to [wikitr:/Help Main Help]