Changes between Version 31 and Version 32 of Help/Menu/OSMLayer


Ignore:
Timestamp:
2018-02-26T18:01:52+01:00 (8 years ago)
Author:
Hb---
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/Menu/OSMLayer

    v31 v32  
    33= Context Menu > OSM Data Layer =
    44
    5 OSM data layers contain data downloaded from OpenStreetMap and/or the data you add to them.
    6 
    7 === Layer States ===
    8 Normally all actions are possible with the data in a layer. But three flags can change this:
    9 
    10 || Icon || Layer State || [wikitr:/Help/Action/EncourageDiscourageUpload Courage] ||  [wiki:Help/Action/BlockDownload Block] || [wikitr:/Help/Action/LockedLayer Locked] ||\
    11 ||   Behaviour  ||\
    12 ||
    13 || [[Image(source:trunk/images/layer/osmdata_small.png,link=)]] ||\
    14 || Default || . || . || . ||
    15 || [[Image(source:trunk/images/warning-small.png,8,link=)]] ||\
    16 ||    Rework || `false` || . || . ||\
    17 || Warn before upload ||\
    18 ||
    19 || [[Image(source:trunk/images/warning-small.png,8,link=)]] ||\
    20 ||    Test/Blocked   || `never` || . || . ||\
    21 || Download and edit ||\
    22 ||
    23 || [[Image(source:trunk/images/warning-small.png,8,link=)]] ||\
    24 ||    Private   || `never` || `never` || . ||\
    25 || Only editing ||\
    26 ||
    27 || [[Image(source:trunk/images/lock.svg,14px,link=)]] ||\
    28 ||    Locked   || . || . || `true` ||\
    29 ||   No action possible ||\
    30 ||
    31 
    32  Courage:: false is set with context menu, never is set with a manually editing a osm-file, true is default.
    33  Block:: never is set with a manually editing a osm-file, true is default.
    34  Locked:: true is set with a manually editing a osm-file, false is default.
     5Data layers contain map data objects downloaded from OpenStreetMap or created and edited by users, usually meant to upload them back to OSM. Special [#Layerstates layer states] may block this.
    356
    367
     
    5021||||||||
    5122||[[Image(source:trunk/images/dialogs/edit.png)]]|| [wiki:Help/Action/RenameLayer Rename Layer] || ||
    52 ||[[Image(source:trunk/images/no_upload.svg)]]|| [wiki:Help/Action/EncourageDiscourageUpload Encourage/discourage upload] **([ExpertMode expert mode] only)** || ||
     23||[[Image(source:trunk/images/no_upload.svg)]]||\
     24|| [wiki:Help/Action/EncourageDiscourageUpload Encourage/discourage upload] (only in [ExpertMode expert mode]) || ||
    5325|| || [wiki:Help/Action/DataConsistantyTest Data consistency test] || ||
    5426||||||||
    5527||[[Image(source:trunk/images/info.png)]]|| [wiki:Help/Action/LayerInfo Info] || ||
    5628
     29
     30=== Layer States ===
     31Normally all actions are possible with the data in a layer. But three switches can change this:
     32
     33||||= Layer State =||= Upload =||= Download =||= Block =||\
     34||=   Behaviour  =||\
     35||
     36|| [[Image(source:trunk/images/layer/osmdata_small.png,link=)]] ||\
     37|| Default || . || . || . ||\
     38||
     39|| [[Image(source:trunk/images/warning-small.png,8,right,bottom,link=)]] ||\
     40|| Rework || `false` || . || . ||\
     41|| Warn before upload ||\
     42||
     43|| [[Image(source:trunk/images/warning-small.png,8,link=)]] ||\
     44|| Test/Blocked   || `never` || . || . ||\
     45|| Download and edit ||\
     46||
     47|| [[Image(source:trunk/images/warning-small.png,8,right,top,link=)]] ||\
     48|| Private   || `never` || `never` || . ||\
     49|| Only editing ||\
     50||
     51|| [[Image(source:trunk/images/lock.svg,14px,link=)]] ||\
     52|| Locked   || . || . || `true` ||\
     53|| No action possible ||\
     54||
     55
     56The Upload switch can be toggled to `false` with [wikitr:/Help/Action/EncourageDiscourageUpload Upload] the context menu mentioned above. For all other switches the .osm-file must be edited with a text editor:
     57
     58{{{#!xml
     59# Default file header
     60# Implying upload='true', download='never' and locked='false'
     61<osm version='0.6' generator='JOSM'>
     62
     63# To warn before uploading. Same as Upload='checked' in
     64# the Layer list context menu for the OSM data layer
     65<osm version='0.6' generator='JOSM' upload='false'>
     66
     67# To block uploads
     68<osm version='0.6' generator='JOSM' upload='never'>
     69
     70# To block downloads:
     71<osm version='0.6' generator='JOSM' download='never'>
     72
     73# To lock a file.
     74# This implies download='never'
     75<osm version='0.6' generator='JOSM' locked='true'>
     76}}}
     77
     78Do we need separate HelpTopics like this while having no GUI?
     79[wiki:Help/Action/BlockDownload] and
     80[wiki:/Help/Action/LockedLayer]
     81
    5782----
    5883* Back to [wikitr:/Help/Dialog/LayerList Layer List Dialog]