Changeset 6678 in josm


Ignore:
Timestamp:
2014-01-12T23:50:49+01:00 (11 years ago)
Author:
Don-vip
Message:

some work on boundaries: add links in presets, add postal_code, drop civil, add some political_division values

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6676 r6678  
    61536153        </item>
    61546154        <item name="Administrative" icon="presets/boundaries.png" type="closedway,relation">
     6155            <link href="http://wiki.openstreetmap.org/wiki/Tag:boundary=administrative"
     6156                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:boundary=administrative"
     6157                  hu.href="http://wiki.openstreetmap.org/wiki/Hu:Tag:boundary=administrative"
     6158                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:boundary=administrative"
     6159                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Tag:boundary=administrative"
     6160                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:boundary=administrative" />
    61556161            <label text="Edit Administrative Boundary" />
    61566162            <space />
     
    61586164            <text key="name" text="Name" />
    61596165        </item>
    6160         <item name="Civil" icon="presets/boundaries.png" type="closedway,relation">
    6161             <label text="Edit Civil Boundary" />
    6162             <space />
    6163             <key key="boundary" value="civil" />
    6164             <text key="name" text="Name" />
    6165         </item>
    61666166        <item name="Political" icon="presets/boundaries.png" type="closedway,relation">
     6167            <link href="http://wiki.openstreetmap.org/wiki/Tag:boundary=political"
     6168                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:boundary=political" />
    61676169            <label text="Edit Political Boundary" />
    61686170            <space />
    61696171            <key key="boundary" value="political" />
    6170             <text key="name" text="Name" />
     6172            <combo key="political_division" text="Division" values="canton, linguistic_community, ward" />
     6173            <text key="name" text="Name" />
     6174        </item>
     6175        <item name="Postal Code" icon="presets/boundaries.png" type="closedway,relation">
     6176            <link href="http://wiki.openstreetmap.org/wiki/Tag:boundary=postal_code" />
     6177            <label text="Edit Postal Code Boundary" />
     6178            <space />
     6179            <key key="boundary" value="postal_code" />
     6180            <text key="postal_code" text="Postal Code" />
    61716181        </item>
    61726182        <item name="National park" icon="presets/boundaries.png" type="closedway,relation">
     6183            <link href="http://wiki.openstreetmap.org/wiki/Tag:boundary=national_park"
     6184                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:boundary=national_park"
     6185                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:boundary=national_park"
     6186                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:boundary=national_park" />
    61736187            <label text="Edit National Park Boundary" />
    61746188            <space />
  • trunk/styles/standard/elemstyles.xml

    r6658 r6678  
    32393239
    32403240        <rule>
    3241                 <condition k="boundary" v="civil"/>
     3241                <condition k="boundary" v="postal_code"/>
    32423242                <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
    32433243                <icon annotate="true" src="misc/deprecated.png"/>
Note: See TracChangeset for help on using the changeset viewer.