Changeset 7613 in josm for trunk/data
- Timestamp:
- 2014-10-13T22:25:59+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r7607 r7613 46 46 key: key to set 47 47 value: value to set 48 match: none/key/key!/keyvalue (default is "keyvalue", see below for more information)48 match: none/key/key!/keyvalue/keyvalue! (default is "keyvalue!", see below for more information) 49 49 50 50 text: text box … … 59 59 happens if the user selects it. default is no auto-increment; 60 60 mutually exclusive with use_last_as_default. 61 match: none/key/key!/keyvalue (default is "none", see below for more information)61 match: none/key/key!/keyvalue/keyvalue! (default is "none", see below for more information) 62 62 length: length of input box (number of characters allowed) 63 63 alternative_autocomplete_keys: comma separated list of alternative keys to use for autocompletion … … 83 83 use_last_as_default: true/false/force (default is "false") 84 84 editable: allow to add other values as text (default is "true") 85 match: none/key/key!/keyvalue (default is none, see below for more information)85 match: none/key/key!/keyvalue/keyvalue! (default is none, see below for more information) 86 86 values_searchable: true/false (whether to search in combo (display_)values when searching for presets) 87 87 length: length of input box (number of characters allowed) … … 108 108 default: default string to display (defaults to "") 109 109 use_last_as_default: true/false/force (default is "false") 110 match: none/key/key!/keyvalue (default is "none", see below for more information)110 match: none/key/key!/keyvalue/keyvalue! (default is "none", see below for more information) 111 111 values_searchable: true/false (whether to search in multiselect (display_)values when searching for presets) 112 112 … … 121 121 value_off: the value to set when unchecked (default is "no") 122 122 disable_off: whether the off value is disabled in the dialog, i.e., only unset or yes are provided 123 match: none/key/key!/keyvalue (default is "none", see below for more information)123 match: none/key/key!/keyvalue/keyvalue! (default is "none", see below for more information) 124 124 125 125 role: type to specify possible roles in relations … … 162 162 - key: positive if key matches, neutral otherwise 163 163 - key!: positive if key matches, negative otherwise 164 - keyvalue: positive if key and value matches, negative otherwise 164 - keyvalue: positive if key and value matches, neutral otherwise 165 - keyvalue!: positive if key and value matches, negative otherwise 165 166 Note that for a match, at least one positive and no negative is required. 166 167 --> … … 2731 2732 <space /> 2732 2733 <key key="type" value="route" /> 2733 <combo key="route" text="Route type" values="train,subway,monorail,tram,light_rail,bus,trolleybus,aerialway,ferry" values_searchable="true" match="keyvalue " />2734 <combo key="route" text="Route type" values="train,subway,monorail,tram,light_rail,bus,trolleybus,aerialway,ferry" values_searchable="true" match="keyvalue!" /> 2734 2735 <key key="public_transport:version" value="2" /> <!-- only validate marked relations in order to avoid false positives --> 2735 2736 <reference ref="name_ref" /> … … 2890 2891 <item name="Public transport route (Legacy)" icon="presets/path.png" type="relation" preset_name_label="true"> 2891 2892 <key key="type" value="route" /> 2892 <combo key="route" text="Route type" values="train,subway,monorail,tram,bus,trolleybus,aerialway,ferry" values_searchable="true" match="keyvalue " />2893 <combo key="route" text="Route type" values="train,subway,monorail,tram,bus,trolleybus,aerialway,ferry" values_searchable="true" match="keyvalue!" /> 2893 2894 <key key="public_transport:version" value="1" /> <!-- only validate marked relations in order to avoid false positives --> 2894 2895 <reference ref="name_ref" /> … … 3960 3961 <key key="amenity" value="place_of_worship" /> 3961 3962 <text key="name" text="Name" /> 3962 <combo key="religion" text="Religion" values="bahai,jain,sikh,spiritualist,taoist,unitarian,zoroastrian" match="keyvalue " values_searchable="true" />3963 <combo key="religion" text="Religion" values="bahai,jain,sikh,spiritualist,taoist,unitarian,zoroastrian" match="keyvalue!" values_searchable="true" /> 3963 3964 <reference ref="service_times" /> 3964 3965 <reference ref="oh" /> … … 5018 5019 uk.href="http://wiki.openstreetmap.org/wiki/Uk:Key:building" /> 5019 5020 <space /> 5020 <combo key="building" text="Building" values="yes,roof,garage,garages,industrial,school,hangar,commercial,farm,transportation,greenhouse,office,university,hospital,warehouse,retail,shed,cowshed,construction" values_context="building" default="yes" match="keyvalue " values_searchable="true" />5021 <combo key="building" text="Building" values="yes,roof,garage,garages,industrial,school,hangar,commercial,farm,transportation,greenhouse,office,university,hospital,warehouse,retail,shed,cowshed,construction" values_context="building" default="yes" match="keyvalue!" values_searchable="true" /> 5021 5022 <text key="name" text="Name" /> 5022 5023 </item> <!-- Building --> … … 5036 5037 uk.href="http://wiki.openstreetmap.org/wiki/Uk:Key:building" /> 5037 5038 <space /> 5038 <combo key="building" text="Building" values="residential,apartments,house,hut,dormitory,terrace,detached,roof" default="residential" match="keyvalue " values_context="building" values_searchable="true" />5039 <combo key="building" text="Building" values="residential,apartments,house,hut,dormitory,terrace,detached,roof" default="residential" match="keyvalue!" values_context="building" values_searchable="true" /> 5039 5040 <text key="name" text="Name" /> 5040 5041 </item> <!-- Residential Building --> … … 5358 5359 zh_TW.href="http://wiki.openstreetmap.org/wiki/Zh-hant:Key:bridge" /> 5359 5360 <space /> 5360 <combo key="bridge" text="Bridge" values="yes,aqueduct,boardwalk,cantilever,covered,low_water_crossing,trestle,viaduct" match="keyvalue " default="yes" />5361 <combo key="bridge" text="Bridge" values="yes,aqueduct,boardwalk,cantilever,covered,low_water_crossing,trestle,viaduct" match="keyvalue!" default="yes" /> 5361 5362 <combo key="bridge:structure" text="Structure" values="arch,beam,truss,floating,suspension,cable-stayed,simple-suspension,humpback" match="key" /> 5362 5363 <reference ref="optional_bridge" /> … … 5729 5730 ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:power=line" /> 5730 5731 <space /> 5731 <combo key="power" text="Line type" values="line,minor_line" default="line" match="keyvalue " />5732 <combo key="power" text="Line type" values="line,minor_line" default="line" match="keyvalue!" /> 5732 5733 <reference ref="voltage_frequency" /> 5733 5734 <reference ref="ref_operator_branch" /> … … 7731 7732 <key key="type" value="route"/> 7732 7733 <key key="route" value="bicycle"/> 7733 <combo key="network" text="Network" values="icn,ncn,rcn,lcn" match="keyvalue " />7734 <combo key="network" text="Network" values="icn,ncn,rcn,lcn" match="keyvalue!" /> 7734 7735 <reference ref="name_ref_operator"/> 7735 7736 <optional> … … 7771 7772 <key key="type" value="route"/> 7772 7773 <key key="route" value="hiking"/> 7773 <combo key="network" text="Network" values="iwn,nwn,rwn,lwn" match="keyvalue " />7774 <combo key="network" text="Network" values="iwn,nwn,rwn,lwn" match="keyvalue!" /> 7774 7775 <reference ref="name_ref_operator"/> 7775 7776 <optional> … … 7788 7789 <key key="type" value="route"/> 7789 7790 <key key="route" value="piste"/> 7790 <combo key="piste:type" text="Piste type" values="downhill,nordic,skitour,snow_park" match="keyvalue " />7791 <combo key="piste:type" text="Piste type" values="downhill,nordic,skitour,snow_park" match="keyvalue!" /> 7791 7792 <reference ref="name_ref_operator"/> 7792 7793 <optional> … … 7809 7810 <key key="type" value="route"/> 7810 7811 <key key="route" value="piste"/> 7811 <combo key="piste:type" text="Piste type" values="nordic,alpine" match="keyvalue " />7812 <combo key="piste:type" text="Piste type" values="nordic,alpine" match="keyvalue!" /> 7812 7813 <reference ref="name_ref_operator"/> 7813 7814 <optional>
Note:
See TracChangeset
for help on using the changeset viewer.