Changeset 4653 in josm for trunk/data/defaultpresets.xml


Ignore:
Timestamp:
2011-12-10T23:51:06+01:00 (13 years ago)
Author:
simon04
Message:

see #5218 - add several relation presets: type={bridge,tunnel}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r4652 r4653  
    54255425            </roles>
    54265426        </item>
     5427        <item name="Bridge" icon="presets/bridge.png" type="relation">
     5428            <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Bridges_and_Tunnels"/>
     5429            <label text="Edit Bridge" />
     5430            <key key="type" value="bridge" />
     5431            <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" default="" delete_if_empty="true" />
     5432            <text key="name" text="Name" default="" delete_if_empty="true" />
     5433            <text key="ref" text="Reference" default="" delete_if_empty="true" />
     5434            <text key="height" text="Height (meters)" default="" delete_if_empty="true" />
     5435            <text key="length" text="Length (meters)" default="" delete_if_empty="true" />
     5436            <text key="operator" text="Operator" default="" delete_if_empty="true" />
     5437            <roles>
     5438                <role key="across" text="ways supported by (on top of) the bridge" requisite="optional" type="way" />
     5439                <role key="under" text="ways passing under the bridge" requisite="optional" type="way" />
     5440                <role key="outline" text="way forming the outline footprint" requisite="optional" count="1" type="closedway" />
     5441                <role key="edge" text="nodes forming the outline" requisite="optional" type="node" />
     5442            </roles>
     5443        </item>
     5444        <item name="Tunnel" icon="presets/tunnel.png" type="relation">
     5445            <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Bridges_and_Tunnels"/>
     5446            <label text="Edit Tunnel" />
     5447            <key key="type" value="tunnel" />
     5448            <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" default="" delete_if_empty="true" />
     5449            <text key="name" text="Name" default="" delete_if_empty="true" />
     5450            <text key="ref" text="Reference" default="" delete_if_empty="true" />
     5451            <text key="length" text="Length (meters)" default="" delete_if_empty="true" />
     5452            <text key="operator" text="Operator" default="" delete_if_empty="true" />
     5453            <roles>
     5454                <role key="through" text="ways passing through the tunnel" requisite="required" type="way" />
     5455                <role key="outline" text="way forming the outline footprint" requisite="optional" count="1" type="closedway" />
     5456                <role key="edge" text="nodes forming the outline" requisite="optional" type="node" />
     5457            </roles>
     5458        </item>
    54275459    </group> <!-- Relations -->
    54285460</presets>
Note: See TracChangeset for help on using the changeset viewer.