Changeset 8010 in josm for trunk/data


Ignore:
Timestamp:
2015-02-05T17:17:06+01:00 (10 years ago)
Author:
Klumbumbus
Message:

see #10835 - improve boundary preset, add maritime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8009 r8010  
    67366736  <group name="Geography" icon="presets/peak.svg">
    67376737    <group name="Boundaries" icon="presets/boundaries.png">
    6738         <item name="Administrative" icon="presets/boundaries.png" type="closedway,relation" preset_name_label="true">
     6738        <item name="Administrative" icon="presets/boundaries.png" type="way,closedway,relation" preset_name_label="true">
    67396739            <link href="http://wiki.openstreetmap.org/wiki/Tag:boundary=administrative"
    67406740                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:boundary=administrative"
     
    67476747            <key key="boundary" value="administrative" />
    67486748            <text key="name" text="Name" />
     6749            <combo key="admin_level" text="Administrative level" values="1,2,3,4,5,6,7,8,9,10" />
     6750            <check key="maritime" text="Maritime" disable_off="true" />
    67496751        </item> <!-- Administrative -->
    67506752        <item name="Political" icon="presets/boundaries.png" type="closedway,relation" preset_name_label="true">
     
    67566758            <text key="name" text="Name" />
    67576759        </item> <!-- Political -->
    6758         <item name="Postal Code" icon="presets/boundaries.png" type="closedway,relation" preset_name_label="true">
     6760        <item name="Postal Code" icon="presets/boundaries.png" type="way,closedway,relation" preset_name_label="true">
    67596761            <link href="http://wiki.openstreetmap.org/wiki/Tag:boundary=postal_code"
    67606762                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:boundary=postal_code" />
     
    67886790            </optional>
    67896791        </item> <!-- Protected Area -->
     6792        <item name="Maritime" icon="presets/boundaries.png" type="way,closedway,relation" preset_name_label="true">
     6793            <link href="http://wiki.openstreetmap.org/wiki/Tag:boundary=maritime" />
     6794            <space />
     6795            <key key="boundary" value="maritime" />
     6796            <combo key="border_type" text="Border type" values="baseline,territorial,contiguous,eez" />
     6797            <text key="name" text="Name" />
     6798        </item> <!-- Maritime -->
    67906799    </group> <!-- Boundaries -->
    67916800    <group name="Places" icon="styles/standard/place/settlement/isolated_dwelling.png">
     
    77967805            <key key="type" value="boundary" />
    77977806            <text key="name" text="Name" />
    7798             <optional>
    7799                 <combo key="boundary" text="Boundary type" values="administrative,national_park,political,postal_code,protected_area" values_searchable="true" />
     7807            <combo key="boundary" text="Boundary type" values="administrative,maritime,national_park,political,postal_code,protected_area" values_searchable="true" />
     7808            <optional>
    78007809                <combo key="admin_level" text="Administrative level" values="1,2,3,4,5,6,7,8,9,10" />
    78017810            </optional>
Note: See TracChangeset for help on using the changeset viewer.