wiki:Help/Action/EncourageDiscourageUpload

Languages:

Encourage/Discourage Upload

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

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

States

icon state osm element attribute behavior on upload how to set in GUI
source:trunk/resources/images/layer/osmdata_small.svg DEFAULT (optional: upload='true') no special behaviour by deactivating the Discourage upload button in the context menu of the osm data layer
No image "noupload.png" attached to Help/Menu/OSMLayer 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
No image "noupload.png" attached to Help/Menu/OSMLayer 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 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 4 years ago Last modified on 2020-06-12T13:09:32+02:00

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.