Changeset 18918 in josm for trunk/resources/data
- Timestamp:
- 2023-12-19T17:09:19+01:00 (11 months ago)
- Location:
- trunk/resources/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/defaultpresets.xml
r18897 r18918 1466 1466 <list_entry value="no" /> 1467 1467 </combo> 1468 <combo key="crossing_ref" text="Crossing type name (UK)" values="zebra,pelican,toucan,puffin,pegasus,tiger" />1468 <combo key="crossing_ref" text="Crossing type name (UK)" values="zebra,pelican,toucan,puffin,pegasus,tiger" regions="GB" /> 1469 1469 <combo key="kerb" text="Kerb" values="flush,lowered,no,raised,rolled,yes" values_context="kerb" /> 1470 1470 <combo key="supervised" text="Crossing attendant" delimiter="|" values="yes|no|06:00-20:00|Mo-Fr 09:00-18:00,Sa 08:00-14:00|May-Sep 09:30-12:30,14:15-19:30" values_i18n="false" values_sort="false" /> … … 1517 1517 </combo> 1518 1518 <reference ref="crossing_markings" /> 1519 <combo key="crossing_ref" text="Crossing type name (UK)" values="zebra,pelican,toucan,puffin,pegasus,tiger" values_searchable="true" />1519 <combo key="crossing_ref" text="Crossing type name (UK)" values="zebra,pelican,toucan,puffin,pegasus,tiger" values_searchable="true" regions="GB" /> 1520 1520 <combo key="kerb" text="Kerb" values="flush,lowered,no,raised,rolled,yes" values_context="kerb" /> 1521 1521 <combo key="supervised" text="Crossing attendant" delimiter="|" values="yes|no|06:00-20:00|Mo-Fr 09:00-18:00,Sa 08:00-14:00|May-Sep 09:30-12:30,14:15-19:30" values_i18n="false" values_sort="false" /> … … 7309 7309 <list_entry value="sculpture" short_description="A non figurative sculpture which does not match any of the other categories." /> 7310 7310 <list_entry value="cross" short_description="A cross-shaped memorial." /> 7311 <list_entry value="blue_plaque" short_description="A blue plaque commemorating a historical link to that location. (UK)" />7311 <list_entry value="blue_plaque" short_description="A blue plaque commemorating a historical link to that location. (UK)" regions="GB" /> 7312 7312 <list_entry value="obelisk" short_description="An obelisk." /> 7313 7313 <list_entry value="ghost_bike" short_description="A bicycle painted white permanently placed as memorial for a victim of a road accident (usually cyclists)." /> 7314 <list_entry value="stolperstein" short_description="10cm × 10cm brass plaque commemorating victims of Nazi persecution. (EU,RU)" />7314 <list_entry value="stolperstein" short_description="10cm × 10cm brass plaque commemorating victims of Nazi persecution. (EU,RU)" regions="EU,RU" /> 7315 7315 <list_entry value="bench" short_description="A bench placed in memory of someone or something; usually has a plaque, and sometimes a statue sitting on (part of) it." /> 7316 7316 </combo> … … 8262 8262 <check key="payment:laser" text="Laser" match="keyvalue" /> 8263 8263 <check key="payment:maestro" text="Maestro" match="keyvalue" /> 8264 <check key="payment:postfinance_card" text="PostFinance Card (ch)" match="keyvalue" />8264 <check key="payment:postfinance_card" text="PostFinance Card (ch)" match="keyvalue" region="CH" /> 8265 8265 <check key="payment:visa_debit" text="Visa Debit" match="keyvalue" /> 8266 8266 <check key="payment:visa_electron" text="Visa Electron" match="keyvalue" /> … … 8281 8281 <combo key="payment:electronic_purses" text="Electronic purses and Charge cards" values="yes,no" match="keyvalue" /> 8282 8282 <checkgroup columns="4"> 8283 <check key="payment:ep_avant" text="Avant (fi)" match="keyvalue" />8284 <check key="payment:ep_geldkarte" text="Geldkarte (de)" match="keyvalue" />8285 <check key="payment:ep_mep" text="Mep (pt)" match="keyvalue" />8286 <check key="payment:ep_minicash" text="Minicash (lu)" match="keyvalue" />8287 <check key="payment:ep_minipay" text="Minipay (it)" match="keyvalue" />8288 <check key="payment:ep_monedero4b" text="Mondero 4b (es)" match="keyvalue" />8283 <check key="payment:ep_avant" text="Avant (fi)" match="keyvalue" regions="FI" /> 8284 <check key="payment:ep_geldkarte" text="Geldkarte (de)" match="keyvalue" regions="DE" /> 8285 <check key="payment:ep_mep" text="Mep (pt)" match="keyvalue" regions="PT" /> 8286 <check key="payment:ep_minicash" text="Minicash (lu)" match="keyvalue" regions="LU" /> 8287 <check key="payment:ep_minipay" text="Minipay (it)" match="keyvalue" regions="IT" /> 8288 <check key="payment:ep_monedero4b" text="Mondero 4b (es)" match="keyvalue" regions="ES" /> 8289 8289 </checkgroup> 8290 8290 <space /> … … 9969 9969 <text key="destination" text="Name of river/lake/sea/ocean it runs into" /> 9970 9970 <text key="ref" text="Reference" /> 9971 <text key="ref:sandre" text="Reference Sandre (FR)" />9972 <text key="ref:fgkz" text="Reference FGKZ (DE)" />9973 <text key="ref:regine" text="Reference REGINE (NO)" />9974 <text key="ref:gnis" text="Reference GNIS (USA)" />9975 <text key="ref:gnbc" text="Reference GNBC (CA)" />9971 <text key="ref:sandre" text="Reference Sandre (FR)" regions="FR" /> 9972 <text key="ref:fgkz" text="Reference FGKZ (DE)" regions="DE" /> 9973 <text key="ref:regine" text="Reference REGINE (NO)" regions="NO" /> 9974 <text key="ref:gnis" text="Reference GNIS (USA)" regions="US" /> 9975 <text key="ref:gnbc" text="Reference GNBC (CA)" regions="CA" /> 9976 9976 <reference ref="wikipedia_wikidata" /> 9977 9977 </optional> -
trunk/resources/data/tagging-preset.xsd
r18812 r18918 107 107 <extension base="tns:group-parent"> 108 108 <attributeGroup ref="tns:attributes.name" /> 109 <attributeGroup ref="tns:attributes.regions"/> 109 110 </extension> 110 111 </complexContent> … … 122 123 <annotation> 123 124 <documentation> 124 Every item is one annotation set to select from. name is required, type and preset_name_label are recommended , icon and name_templateare optional attributes.125 Every item is one annotation set to select from. name is required, type and preset_name_label are recommended and icon, name_template, regions and exclude_regions are optional attributes. 125 126 </documentation> 126 127 </annotation> … … 135 136 <attributeGroup ref="tns:attributes.name" /> 136 137 <attributeGroup ref="tns:attributes.icon" /> 138 <attributeGroup ref="tns:attributes.regions"/> 137 139 <attribute name="type" type="string"> 138 140 <annotation> … … 365 367 <annotation> 366 368 <documentation><![CDATA[ 367 Used in <combo/> and <multiselect/>. More information see short_descriptions below. The attributes are value, display_value, short_description, icon and icon_size.369 Used in <combo/> and <multiselect/>. More information see short_descriptions below. The attributes are value, display_value, short_description, icon, icon_size, regions, and exclude_regions. 368 370 ]]></documentation> 369 371 </annotation> … … 379 381 </attribute> 380 382 <attributeGroup ref="tns:attributes.icon" /> 383 <attributeGroup ref="tns:attributes.regions"/> 381 384 <anyAttribute processContents="skip" /> 382 385 </complexType> … … 490 493 <attribute name="match" type="tns:match" /> 491 494 <attributeGroup ref="tns:attributes.icon" /> 495 <attributeGroup ref="tns:attributes.regions"/> 492 496 493 497 <attribute name="name" use="prohibited" /> … … 559 563 <annotation> 560 564 <documentation> 561 To specify possible roles of members in relations. The key attribute is required, text, requisite, count, type and member_expressionare optional.565 To specify possible roles of members in relations. The key attribute is required, text, requisite, count, type, member_expression, regions, and exclude_regions are optional. 562 566 </documentation> 563 567 </annotation> … … 575 579 <attribute name="member_expression" type="string" /> 576 580 <attribute name="regexp" type="boolean" /> 581 <attributeGroup ref="tns:attributes.regions"/> 577 582 <anyAttribute processContents="skip" /> 578 583 </complexType> … … 730 735 </attributeGroup> 731 736 737 <attributeGroup name="attributes.regions"> 738 <attribute name="regions" type="string"> 739 <annotation> 740 <documentation> 741 Comma separated list of countries this preset group or item is applicable for. If not specified, the preset is applicable for all countries. 742 </documentation> 743 </annotation> 744 </attribute> 745 <attribute name="exclude_regions" type="boolean"> 746 <annotation> 747 <documentation> 748 If true, invert the meaning of regions. 749 </documentation> 750 </annotation> 751 </attribute> 752 </attributeGroup> 753 732 754 </schema>
Note:
See TracChangeset
for help on using the changeset viewer.