| 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 to 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 || |
| | 9 | == States == |
| | 10 | |
| | 11 | ||= '''icon''' =||= '''state''' =||= '''osm element attribute''' =||= '''behaviour on upload''' =||= '''how to set in GUI''' =|| |
| | 12 | || [[Image(source:trunk/images/layer/osmdata_small.png)]] || NORMAL || (optional: `upload='true'`) || no special behaviour || by deactivating the Discourage upload button in the [wiki:Help/Menu/OSMLayer context menu] of the osm data layer || |
| | 13 | || [[Image(source:trunk/images/warning-small.png)]] in the bottom right corner of [[Image(source:trunk/images/layer/osmdata_small.png)]] || 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 || |
| | 14 | || [[Image(source:trunk/images/warning-small.png)]] in the bottom right corner of [[Image(source:trunk/images/layer/osmdata_small.png)]] || BLOCKED || `upload='never'` || the upload button is greyed out so the upload is impossible || not possible || |
| | 15 | |
| | 16 | == Code Example == |
| | 17 | |
| | 18 | Edit a .osm file in a text editor and use instead of the usual\\ |
| | 19 | {{{<osm version='0.6' generator='JOSM'>}}}\\ |
| | 20 | use\\ |
| | 21 | {{{<osm version='0.6' generator='JOSM' upload='never'>}}}\\. |
| | 22 | |
| | 23 | == Miscellaneous == |