| | 1 | [[TranslatedPages]] |
| | 2 | |
| | 3 | = Encourage/Discourage Upload = |
| | 4 | |
| | 5 | [[Image(source:trunk/images/no_upload.svg)]] **([ExpertMode expert mode] only)** |
| | 6 | |
| | 7 | An OSM data layer can have three states regarding its upload behavior, which are explained in the table: |
| | 8 | |
| | 9 | ||= '''state''' =||= '''code in the osm file''' =||= '''behavior on upload''' =||= '''how to set''' =|| |
| | 10 | || true || `upload='true'` || no special behavior || by deactivating the Discourage upload button in the [wiki:Help/Menu/OSMLayer context menu] of the osm data layer || |
| | 11 | || false || `upload='false'` || a warning box appears if you really want t upload the layer || by activating the Discourage upload button in the context menu of the osm data layer || |
| | 12 | || never || `upload='never'` || the upload button is greyed out so the upload is impossible || only by manually editing the osm file in an external text editor || |
| | 13 | |
| | 14 | The warning when you try to upload an "`upload='false'`" layer: |
| | 15 | |
| | 16 | [[Image(upload_false.png)]] |
| | 17 | |
| | 18 | The idea behind these states is to prevent to accidentaly upload data which is not appropriate for the osm database (e.g. some fictional test data). |
| | 19 | |
| | 20 | Note that you'll only get a warning about [Help/Dialog/UnsavedChangesDialog unsaved changes] of layers of the states false or never if the state was already set in the osm file ''before'' adding the layer to JOSM. |
| | 21 | |
| | 22 | ---- |
| | 23 | Back to [wiki:Help/Menu/OSMLayer OSM layer context menu][[BR]] |
| | 24 | Back to [wiki:Help/Dialog/LayerList Layer List Dialog][[BR]] |
| | 25 | Back to [wiki:Help Main Help] |