Changeset 7399 in josm for trunk/data


Ignore:
Timestamp:
2014-08-15T15:44:18+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10300 - add country-specific optional address attributes (addr:hamlet, addr:suburb, addr:subdistrict, addr:district, addr:state)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r7394 r7399  
    74587458                <combo key="addr:country" text="Country code" values_from="java.util.Locale#getISOCountries" use_last_as_default="force" match="key" />
    74597459            </optional>
     7460            <optional text="Optional values for specific countries">
     7461                <text key="addr:hamlet" text="Hamlet" match="key" />
     7462                <text key="addr:suburb" text="Suburb" use_last_as_default="force" match="key" />
     7463                <text key="addr:subdistrict" text="Subdistrict" use_last_as_default="force" match="key" />
     7464                <text key="addr:district" text="District" use_last_as_default="force" match="key" />
     7465                <!--  US/Canadian States as defined in ISO 3166-2 -->
     7466                <combo key="addr:state" text="State" values="AL,AK,AZ,AR,CA,CO,CT,DE,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,ME,MD,MA,MI,MN,MS,MO,MT,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,DC,AS,GU,MP,PR,UM,VI,AB,BC,MB,NB,NL,NS,ON,PE,QC,SK,NT,NU,YT" use_last_as_default="force" match="key" />
     7467            </optional>
    74607468        </item> <!-- Addresses -->
    74617469        <item name="Address Interpolation" icon="presets/interpolation.png" type="way" preset_name_label="true">
Note: See TracChangeset for help on using the changeset viewer.