Changeset 5165 in josm


Ignore:
Timestamp:
Apr 5, 2012 1:52:35 PM (14 months ago)
Author:
simon04
Message:

update comments in defaultpresets.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r5158 r5165  
    1616  - URL's are also supported to allow remote icons (are cached locally) 
    1717  type: the data types - way,node,relation,closedway (separated by comma) 
     18  name_template: define custom formatting for OSM primitives 
     19                 see http://josm.openstreetmap.de/wiki/NameTemplate 
    1820 
    1921link: link to the relating map features website 
     22  href: the URL 
    2023 
    2124label: simple static text label 
     
    5962                  database values, order and number must be equal to values 
    6063  short_descriptions: delimiter-separated list of texts to be displayed below each 
    61                      display_value. (Only if it is not possible to describe 
    62                      the entry in 2-3 words.) Instead of a separated list 
     64                      display_value. (Only if it is not possible to describe 
     65                      the entry in 2-3 words.) Instead of a separated list 
    6366  instead using values, display_values and short_descriptions, the following form is also supported: 
    6467    <list_item value="" display_value="' short_description="" icon=""/> 
     
    7881  key: the role name used in relation 
    7982  text: fixed label to display 
    80   requisite: "optional" or "required" (default is optional) 
     83  requisite: optional/required (default is "optional") 
    8184  count: how often can the role occur (if not given unlimited number is assumed) 
    8285  type: the data types - way,node,relation,closedway (separated by comma) 
    8386 
    84 For external files the <presets> should have following elements: 
    85 - author          the author of the preset 
    86 - version          a version number of some sort (e.g. creation date) 
    87 - description      what is your preset meant to be 
    88 - shortdescription very short description 
    89 - link            a link to a helpful website (optional) 
    90 - The fields description, shortdescription and link may also be localized (e.g. de.link) 
     87 presets: For external files <presets> should have following attributes: 
     88   author: the author of the preset 
     89   version: a version number of some sort (e.g. creation date) 
     90   description: what is your preset meant to be 
     91   shortdescription: very short description 
     92   link: a link to a helpful website (optional) 
     93 The fields description, shortdescription and link may also be localized (e.g. de.link) 
    9194 
    9295See also http://josm.openstreetmap.de/wiki/TaggingPresets. 
Note: See TracChangeset for help on using the changeset viewer.