wiki:Help/Menu/OSMLayer

Version 34 (modified by Hb---, 7 years ago) ( diff )

Reflect the private/locked layers from #8039 and #10456

Context Menu > OSM Data Layer

Data layers contain 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

Normally all actions are possible with the OSM data in a layer. But the three switches Upload, Download and Locked can change this:

Layer state   Upload Download Block Behaviour
source:trunk/images/layer/osmdata_small.png Default . . .
source:trunk/images/warning-small.png Rework false . . Warn before upload
source:trunk/images/warning-small.png Test/Blocked never . . Download and edit
source:trunk/images/warning-small.png Private never never . Only editing
No image "lock-16px.svg" attached to Help/Menu/OSMLayer Locked . .   true No action possible

The Upload switch can be toggled to false with Discourage Upload, the context menu item mentioned above. For all other switches the .osm-file must be edited with a text editor. In the second line the switches are part of the osm key.

# Default file header 
# Implying upload='true', download='never' and locked='false'
<osm version='0.6' generator='JOSM'>

# To warn before uploading: 
# Same switch as 'Upload' in the Layer list context menu
<osm version='0.6' generator='JOSM' upload='false'>

# To block uploads:
<osm version='0.6' generator='JOSM' upload='never'>

# To block downloads:
<osm version='0.6' generator='JOSM' download='never'>

# To lock a file: 
# This implies download='never' and upload='never'
<osm version='0.6' generator='JOSM' locked='true'>

Back to Layer List Dialog
Back to Main Help

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.