wiki:Help/Action/EncourageDiscourageUpload

Languages:

Encourage/Discourage Upload

source:trunk/images/no_upload.svg (expert mode only)

An OSM data layer can have three states regarding its upload behaviour.

States

icon state osm element attribute behaviour on upload how to set in GUI
source:trunk/images/layer/osmdata_small.png DEFAULT (optional: upload='true') no special behaviour by deactivating the Discourage upload button in the context menu of the osm data layer
DISCOURAGED upload='false' a warning box appears if you really want to upload the layer by activating the Discourage upload button in the context menu of the osm data layer
BLOCKED upload='never' the upload button is greyed out so the upload is impossible not possible

Code Example

Edit a .osm file in a text editor and use instead of the usual
<osm version='0.6' generator='JOSM'>
use
<osm version='0.6' generator='JOSM' upload='never'>
.

Miscellaneous

The warning when you try to upload an "upload='false'" layer:

The idea behind these states is to prevent to accidentally upload data which is not appropriate for the osm database (e.g. some fictional test data).

Note that you'll only get a warning about unsaved changes of layers with the states false or never if the state was already set in the osm file before adding the layer to JOSM.


Back to OSM layer context menu
Back to Layer List Dialog
Back to Main Help

Last modified 8 months ago Last modified on 2018-03-02T20:55:45+01:00

Attachments (1)

Download all attachments as: .zip