Languages:
- English
- français
- Nederlands
- русский
Encourage/Discourage Upload
(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 |
---|---|---|---|---|
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 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
Attachments (1)
- upload_false.png (13.9 KB ) - added by 7 years ago.
Download all attachments as: .zip