Template:Map Features:addr: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
(some warning not to use addr:full)
(in OSM the separator for multi-values is ";" (semi-colon): see here)
Line 42: Line 42:
| {{{addr:housenumber:value|user defined}}}
| {{{addr:housenumber:value|user defined}}}
| {{IconNode}} {{IconArea}}
| {{IconNode}} {{IconArea}}
| {{{addr:housenumber:desc|The [[wikipedia:House numbering|house number]] (may contain non-digits).<br/> If a single entry has multiple house numbers, separate them by ",". e.g. "12b,12c".<BR> Only required key for an address (except when addr:housename is used), all others are optional.}}}
| {{{addr:housenumber:desc|The [[wikipedia:House numbering|house number]] (may contain non-digits).<br />If a single entry has multiple house numbers, separate them by ";", such as "12b;12c".<br />Only required key for an address (except when addr:housename is used), all others are optional.}}}
<!-- | {{{addr:housenumber:render| }}} -->
<!-- | {{{addr:housenumber:render| }}} -->
| {{{addr:housenumber:photo|[[Image:Hausnummer in Deutschland (2004-01-28).jpeg|100px|center]]}}}
| {{{addr:housenumber:photo|[[Image:Hausnummer in Deutschland (2004-01-28).jpeg|100px|center]]}}}

Revision as of 12:39, 18 March 2012

Template for the Address section in the Map Features page. Use the default English text or use the template arguments for your translations

Addresses

Used to provide postal information for the building or facility. See Addresses for more details on usage.

Key Value Element Comment Photo
Tags for parts of a building
addr:door user defined node area The actual door to an apartment/flat/office/room. Also, normally a number, sometimes a name. Could also be called differently in some countries (In Austria for example it is sometimes referred to as "Top"). If a room has more than one door, you can tag them separately.
addr:floor Number node area The floor an apartment/flat/office is located.
addr:unit user defined node area While a big building could have only one entrance, sometimes the way inside divides into different units or staircases, where certain apartments/flats/offices can only be reached though a specific unit. An information necessary for postmen, for example.
Tags for individual houses
addr:housenumber user defined node area The house number (may contain non-digits).
If a single entry has multiple house numbers, separate them by ";", such as "12b;12c".
Only required key for an address (except when addr:housename is used), all others are optional.
Hausnummer in Deutschland (2004-01-28).jpeg
addr:housename user defined node area The name of a house.
This is sometimes used in some countries like England instead of (or in addition to) a house number.
addr:street user defined node area The (main) name of the respective street.
A way with highway=* and the corresponding name should be found nearby.
Ulica Nikole Tesle Zagreb.JPG
addr:postcode user defined node area The postal code of the building/area.
addr:city user defined node area May or may not be a clone of is_in:city=* (in some places the city in the address corresponds to the post office that serves the area rather than the actual city, if any, in which the building is located)! The name of the city as given in postal addresses of the building/area.
Zagreb (town sign).jpg
addr:country user defined node area The ISO 3166-1 alpha-2 two letter country code in upper case.
Example: "DE" for Germany, "FR" for France, "IT" for Italy.
Caveat: The ISO 3166-1 code for Great Britain is "GB" and not "UK".. See also: is_in:country=*
addr:full user defined node area Use this for a full-text, often multi-line, address if you find the structured address fields unsuitable for denoting the address of this particular location. Examples: "Fifth house on the left after the village oak, Smalltown, Smallcountry" or "1200 West Sunset Boulevard Suite 110A". Beware that these strings can hardly be parsed by software.
For countries using hamlet, subdistrict, district, province, state
addr:hamlet user defined node area The hamlet of the object.
Addr hamlet subdistrict district province.jpg
addr:subdistrict user defined node area The subdistrict of the object.
addr:district user defined node area The district of the object.
addr:province user defined node area The province of the object.
addr:state user defined node area The state of the object. For the US, uppercase two-letter postal abbreviations (AK, CA, HI, NY, TX, WY, etc.) are used.
Tags for interpolation ways
addr:interpolation all/even/odd/ alphabetic way How to interpolate the house numbers belonging to the way along the respective street.
See detailed description.
addr:interpolation Number way Every nth house between the end nodes is represented by the interpolation way.
addr:inclusion actual/estimate/potential way Optional tag to indicate the accuracy level of survey used to create the address interpolation way.
See detailed description.

This section is a wiki template with a default description in English. Editable here.