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 layer states may block this.

Context menu

OSM data layers have following context menu:

source:trunk/images/dialogs/activate.svg Activate Shift+A[0–9]
source:trunk/images/dialogs/showhide.png Show/Hide Shift+S[0–9]
source:trunk/images/dialogs/delete.png Delete
source:trunk/images/dialogs/mergedown.png Merge
source:trunk/images/dialogs/duplicatelayer.png Duplicate
source:trunk/images/save.png Save
source:trunk/images/save_as.png Save as ...
source:trunk/images/exportgpx.png Export to GPX ... (only in expert mode)
source:trunk/images/converttogpx.png Convert To GPX Layer (only in expert mode)
source:trunk/images/dialogs/edit.png Rename Layer
source:trunk/images/no_upload.svg Discourage upload? (only in expert mode)
Data consistency test?
source:trunk/images/info.png Info

Layer State

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
source:trunk/images/layer/osmdata_small.png Default No special behavior.
Upload discouraged false A warning before the upload appears.
Upload blocked never Uploading is not possible, the upload button is greyed out.
Download blocked never The downloaded data goes into another layer which doesn't block downloads if available. Otherwise a new layer is created.
Upload and download blocked never never The combination of the two states above.
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 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.

# Default:
<osm version='0.6' generator='JOSM'>

# Upload discouraged: 
<osm version='0.6' generator='JOSM' upload='false'>

# Upload blocked:
<osm version='0.6' generator='JOSM' upload='never'>

# Download blocked:
<osm version='0.6' generator='JOSM' download='never'>

# Upload and download blocked:
<osm version='0.6' generator='JOSM' upload='never' download='never'>

# Locked: 
<osm version='0.6' generator='JOSM' locked='true'>

Back to Layer List Dialog
Back to Main Help

Last modified 2 weeks ago Last modified on 2018-03-04T15:09:57+01:00

Attachments (3)

Download all attachments as: .zip