Ticket #21173: josm 21173.patch

File josm 21173.patch, 4.2 KB (added by gaben, 4 months ago)

first idea

  • resources/data/defaultpresets.xml

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/resources/data/defaultpresets.xml b/resources/data/defaultpresets.xml
    a b  
    333333    </chunk>
    334334    <chunk id="other_religions"> <!-- religions which don't have an own preset -->
    335335        <combo key="religion" text="Religion" values="bahai,caodaism,confucian,jain,sikh,spiritualist,taoist,tenrikyo,unitarian_universalist,zoroastrian" match="keyvalue!" values_searchable="true" />
    336     </chunk> 
     336    </chunk>
    337337    <chunk id="christian_denominations"> <!-- christian denominations -->
    338338        <combo key="denomination" text="Denomination" values="anglican,baptist,catholic,church_of_scotland,evangelical,greek_catholic,greek_orthodox,iglesia_ni_cristo,jehovahs_witness,lutheran,methodist,mormon,new_apostolic,nondenominational,old_catholic,orthodox,pentecostal,presbyterian,protestant,quaker,reformed,roman_catholic,romanian_orthodox,russian_orthodox,serbian_orthodox,seventh_day_adventist,spiritist,united,united_methodist" values_searchable="true" />
    339339    </chunk>
     
    350350        <combo key="denomination" text="Denomination" values="vaishnavism,shaivism,shaktism,smartism" values_searchable="true" />
    351351    </chunk>
    352352    <!-- shinto and the religions which don't have an own preset don't have denominations (yet) -->
    353     <!-- end of religions and denominations --> 
     353    <!-- end of religions and denominations -->
    354354    <chunk id="voltage">
    355355        <combo key="voltage" text="Voltage in Volts (V)" values="1150000,765000,750000,735000,500000,450000,420000,400000,380000,350000,345000,330000,315000,300000,275000,238000,230000,225000,220000,200000,161000,154000,150000,138000,132000,120000,115000,110000,100000,90000,69000,66000,65000,63000,60000,55000,49000,45000,35000,33000,30000,22000,20000,15000,110000;20000" />
    356356    </chunk>
     
    788788                    <check key="narrow" text="Narrow" disable_off="true" />
    789789                    <check key="trolley_wire" text="Overhead trolley wires" />
    790790                    <check key="passing_places" text="Passing Places" />
    791                 </checkgroup> 
     791                </checkgroup>
    792792                <reference ref="placement_shoulder" />
    793793            </optional>
    794794            <reference ref="link_road_access_restrictions" />
     
    13561356            <check key="button_operated" text="Button operated" />
    13571357            <check key="traffic_signals:sound" text="Sound signals" />
    13581358        </item> <!-- Pedestrian Crossing -->
    1359         <group name="Traffic Calming" icon="presets/vehicle/choker.svg"> 
     1359        <group name="Traffic Calming" icon="presets/vehicle/choker.svg">
    13601360            <item name="Bump" icon="presets/vehicle/bump.svg" type="node,way" preset_name_label="true">
    13611361                <link wiki="Key:traffic_calming" />
    13621362                <space />
     
    64466464        </item> <!-- Fort -->
    64476465        <item name="Ruins" icon="presets/sightseeing/ruins.svg" type="node,closedway,multipolygon" preset_name_label="true">
    64486466            <link wiki="Tag:historic=ruins" />
     6467            <space />
     6468            <label text="Representing a structure to indicate that the structure is in ruins. For structures that are still recognisable what they once used to be, use other historic=* tag." />
    64496469            <space />
    64506470            <key key="historic" value="ruins" />
    6451             <reference ref="name_oh_wheelchair" />
     6471            <text key="name" text="Name" />
     6472            <combo key="ruins" text="Type" values="chapel,temple,monastery,church,castle,fort,tower" />
     6473            <optional>
     6474                <reference ref="wikipedia_wikidata" />
     6475                <combo key="castle_type" text="Castle type" values="stately,defensive,fortress,manor,palace" />
     6476            </optional>
    64526477        </item> <!-- Ruins -->
    64536478        <item name="Archaeological Site" icon="presets/sightseeing/archaeological.svg" type="node,closedway,multipolygon" preset_name_label="true">
    64546479            <link wiki="Tag:historic=archaeological_site" />