Ticket #11339: josm_11339_addv2.patch

File josm_11339_addv2.patch, 3.5 KB (added by skyper, 9 years ago)

patch with building:material

  • data/defaultpresets.xml

     
    178178    <chunk id="sport">
    179179            <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,boules,bowls,canadian_football,canoe,climbing,cricket,cricket_nets,croquet,cycling,dog_racing,equestrian,gaelic_games,golf,gymnastics,handball,hockey,horse_racing,motor,pelota,racquet,rugby_league,rugby_union,running,shooting,skateboard,skating,soccer,swimming,table_tennis,tennis" values_context="sport" />
    180180    </chunk>
     181    <chunk id="volume_capacity">
     182        <combo key="capacity" text="Capacity" values="0.25 m³,50 m³,475 m³,2000 m³,15000 m³" />
     183    </chunk>
    181184    <chunk id="fee">
    182185        <combo key="fee" text="Fee" values="yes,no" />
    183186    </chunk>
     
    45964599            <space />
    45974600            <key key="amenity" value="bench" />
    45984601            <check key="backrest" text="Backrest" />
    4599             <combo key="material" text="Material" values="stone,metal,wood,plastic" />
     4602            <combo key="material" text="Material" values="concrete,metal,plastic,stone,wood" />
    46004603            <combo key="colour" text="Color (HTML name or hexadecimal code)" values_context="color" values="black,brown,green,red,blue,gray,white,#CD853F" />
    46014604            <combo key="seats" text="Amount of Seats" values="2,3,4,5,6,7,8,9,10" />
    46024605        </item> <!-- Bench -->
     
    53075310                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:man_made=storage_tank" />
    53085311            <key key="man_made" value="storage_tank" />
    53095312            <combo key="building" text="Building" values="storage_tank" values_context="building" />
    5310             <combo key="content"  text="Content" values="fuel,manure,oil,sewage,silage,slurry,water,wine" values_context="content" />
    5311             <text key="operator" text="Operator" />
    5312             <text key="height" text="Height (meters)" length="7" />
     5313            <optional>
     5314                <combo key="content"  text="Content" values="fuel,manure,oil,sewage,silage,slurry,water,wine" values_context="content" />
     5315                <reference ref="volume_capacity" />
     5316                <text key="operator" text="Operator" />
     5317                <text key="height" text="Height (meters)" length="7" />
     5318                <combo key="building:material" text="Building material" values="brick,concrete,metal,plastic,stone,wood" />
     5319            </optional>
    53135320        </item> <!-- Storage Tank -->
    53145321        <item name="Bunker Silo" icon="styles/standard/bunker_silo.svg" type="node,closedway" preset_name_label="true">
    53155322            <link href="http://wiki.openstreetmap.org/wiki/Tag:man_made=bunker_silo"
     
    53915398                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:man_made=water_tower" />
    53925399            <space />
    53935400            <key key="man_made" value="water_tower" />
    5394             <text key="name" text="Name" />
     5401            <optional>
     5402                <text key="name" text="Name" />
     5403                <reference ref="volume_capacity" />
     5404                <text key="operator" text="Operator" />
     5405                <text key="height" text="Height (meters)" length="7" />
     5406            </optional>
    53955407        </item> <!-- Water Tower -->
    53965408        <item name="Water Works" icon="presets/water_works.png" type="node,closedway" preset_name_label="true">
    53975409            <link href="http://wiki.openstreetmap.org/wiki/Tag:man_made=water_works"