Changeset 1357 in josm for trunk


Ignore:
Timestamp:
2009-01-31T22:01:22+01:00 (16 years ago)
Author:
stoecker
Message:

added relation presets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/presets/presets.xml

    r1348 r1357  
    28642864        </item>
    28652865    </group> <!-- Natural -->
     2866<!-- FIXME: parameter type and element role not yet supported! -->
     2867<!-- type should be used for all other items also to say if they are used for nodes/ways -->
     2868    <group name="Relations" icon="presets/empty.png">
     2869        <item name="Multipolygon" icon="presets/empty.png" type="relation">
     2870            <link href="http://wiki.openstreetmap.org/wiki/Relation:multipolygon"
     2871                  de:href="http://wiki.openstreetmap.org/wiki/DE:Relation:multipolygon"
     2872                  fr:href="http://wiki.openstreetmap.org/wiki/FR:Relation:multipolygon" />
     2873            <label text="Edit a Multipolygon" />
     2874            <key key="type" value="multipolygon" />
     2875            <optional>
     2876                <text key="name" text="Name" default="" delete_if_empty="true" />
     2877            </optional>
     2878            <roles>
     2879                <role key="outer" text="outer segment" requisite="required" count="multiple" type="way" />
     2880                <role key="inner" text="inner segment" requisite="optional" count="multiple" type="way" />
     2881            </roles>
     2882        </item>
     2883        <item name="Turn restriction" icon="presets/empty.png" type="relation">
     2884            <link href="http://wiki.openstreetmap.org/wiki/Relation:multipolygon"
     2885                  de:href="http://wiki.openstreetmap.org/wiki/DE:Relation:multipolygon"/>
     2886            <label text="Edit a Turn Restriction" />
     2887            <key key="type" value="restriction" />
     2888            <combo key="restriction" text="Restriction" values="no_left_turn,no_right_turn,no_straight_on,no_u_turn,only_right_turn,only_left_turn,only_straight_on" default="" delete_if_empty="true" />
     2889            <optional>
     2890                <text key="name" text="Name" default="" delete_if_empty="true" />
     2891            </optional>
     2892            <roles>
     2893                <role key="from" text="from way" requisite="required" count="single" type="way" />
     2894                <role key="via" text="via node or way" requisite="required" count="single" type="way,node" />
     2895                <role key="to" text="to way" requisite="required" count="single" type="way" />
     2896            </roles>
     2897        </item>
     2898    </group> <!-- Relations -->
    28662899</annotations>
Note: See TracChangeset for help on using the changeset viewer.