Ticket #5933: building-presets.patch

File building-presets.patch, 3.2 KB (added by bilbo, 9 years ago)

Patch to add building presets to JOSM

  • data/defaultpresets.xml

     
    28842884  <group name="Man Made" icon="presets/works.png">
    28852885    <group name="Man Made" icon="presets/works.png">
    28862886        <item name="Building" icon="styles/standard/misc/landmark/building.png" type="node,closedway,relation">
     2887            <link href="http://wiki.openstreetmap.org/wiki/Proposed_features/Building_attributes" />
    28872888            <key key="building" value="yes" />
     2889            <optional>
     2890                <label text="Building size" />
     2891                <text key="height" text="Height (meters) from ground to roof" delete_if_empty="true" />
     2892                <text key="building:levels" text="Number of stories, including the ground floor" delete_if_empty="true" />
     2893                <text key="min_height" text="Height (meters) from ground to bottom of building (or part of building)" delete_if_empty="true" />
     2894                <text key="building:min_level" text="Number of stories between ground and actual first existing floor" delete_if_empty="true" />
     2895                <space />
     2896                <label text="Roof parameters" />
     2897                <combo key="building:roof" text="Roofing material" values="tile,slate,concrete,tar_paper,flat" default="" delete_if_empty="true" />
     2898                <combo key="building:roof:shape" text="Shape of roof" values="flat,pitched,hipped,pyramidal,crosspitched,gambrel,mansard,sawtooth,barrel" default="" delete_if_empty="true" />
     2899                <text key="building:roof:angle" text="Angle (pitch) of roof, in degrees" delete_if_empty="true" />
     2900                <text key="building:roof:height" text="Height (meters) of roof" delete_if_empty="true" />
     2901                <combo key="building:roof:orientation" text="Roof orientation" values="along,across" default="" delete_if_empty="true" />
     2902                <space />
     2903                <label text="Advanced parameters for type and appearance" />
     2904                <combo key="building:type" text="Type of building" values="skyscraper,house,hall,supermarket,mall,fuel_station,manor_house,hangar,fort" default="" delete_if_empty="true" />
     2905                <combo key="building:architecture" text="Architectural style" values="georgian,victorian,gothic,retro,futurist" default="" delete_if_empty="true" />
     2906                <combo key="building:use" text="Main use of the building" values="shop,residential,office,decorative" default="" delete_if_empty="true" />
     2907                <combo key="building:shape" text="Approximate shape of the building" values="pyramid,tower,dome" default="" delete_if_empty="true" />
     2908                <text key="building:facade:color" text="Color of facade (hex)" delete_if_empty="true" />
     2909                <combo key="building:facade:material" text="Material of facade" values="glass,brick,stone,plaster,wood" default="" delete_if_empty="true" />
     2910                <text key="building:model" text="URL of 3D model of the building" delete_if_empty="true"/>
     2911            </optional>
    28882912        </item>
    28892913        <item name="Tower" icon="presets/tower.png" type="node,closedway">
    28902914            <label text="Edit Tower" />