mapcomplete/Docs/Layers/address.md

164 lines
5.9 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
address
=======
Addresses
* This layer is shown at zoomlevel **18** and higher
* This layer will automatically load [named\_streets](./named_streets.md) into the layout as it depends on it: a calculated tag loads features from this layer (calculatedTag\[0\] which calculates the value for \_closest\_3\_street\_names)
Table of contents
-----------------
1. [Themes using this layer](#-themes-using-this-layer-)
2. [Basic tags for this layer](#-basic-tags-for-this-layer-)
3. [Supported attributes](#-supported-attributes-)
* [just\_created](#just_created)
* [housenumber](#housenumber)
* [street](#street)
* [fixme](#fixme)
* [leftover-questions](#leftover-questions)
* [lod](#lod)
* [minimap](#minimap)
* [last\_edit](#last_edit)
* [favourite\_status](#favourite_status)
* [qr\_code](#qr_code)
* [share](#share)
* [all-tags](#all-tags)
Themes using this layer
-----------------------
* [grb](https://mapcomplete.org/grb)
* [uk\_addresses](https://mapcomplete.org/uk_addresses)
Basic tags for this layer
-------------------------
Elements must match **any** of the following expressions:
* addr:housenumber~.+
* addr:street~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22addr%3Ahousenumber%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22addr%3Astreet%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
Supported attributes
--------------------
Warning:
this quick overview is incomplete
attribute
type
values which are supported by this layer
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id)
Multiple choice
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/addr:housenumber#values) [addr:housenumber](https://wiki.openstreetmap.org/wiki/Key:addr:housenumber)
[string](../SpecialInputElements.md#string)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/addr:street#values) [addr:street](https://wiki.openstreetmap.org/wiki/Key:addr:street)
[string](../SpecialInputElements.md#string)
[](https://wiki.openstreetmap.org/wiki/Tag:addr:street%3D)[](https://wiki.openstreetmap.org/wiki/Tag:addr:street%3D)[](https://wiki.openstreetmap.org/wiki/Tag:addr:street%3D)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/fixme#values) [fixme](https://wiki.openstreetmap.org/wiki/Key:fixme)
[string](../SpecialInputElements.md#string)
[](https://wiki.openstreetmap.org/wiki/Tag:fixme%3D)
### just\_created
This element shows a 'thank you' that the contributor has recently created this element
This tagrendering has no question and is thus read-only
* _You just created this element! Thanks for sharing this info with the world and helping people worldwide._ corresponds with id~.+
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+`
This tagrendering has labels `added_by_default`
### housenumber
The question is _What is the number of this house?_
This rendering asks information about the property [addr:housenumber](https://wiki.openstreetmap.org/wiki/Key:addr:housenumber) This is rendered with `The house number is <b>{addr:housenumber}</b>`
* _This building has no house number_ corresponds with [nohousenumber](https://wiki.openstreetmap.org/wiki/Key:nohousenumber)\=[yes](https://wiki.openstreetmap.org/wiki/Tag:nohousenumber%3Dyes)
### street
The question is _What street is this address located in?_
This rendering asks information about the property [addr:street](https://wiki.openstreetmap.org/wiki/Key:addr:street) This is rendered with `This address is in street <b>{addr:street}</b>`
* _Located in **{\_closest\_street:0:name}**_ corresponds with addr:street=
* _Located in **{\_closest\_street:1:name}**_ corresponds with addr:street=
* _Located in **{\_closest\_street:2:name}**_ corresponds with addr:street=
### fixme
The question is _What should be fixed here? Please explain_
This rendering asks information about the property [fixme](https://wiki.openstreetmap.org/wiki/Key:fixme) This is rendered with `<b>Fixme description</b>{fixme}`
* _No fixme - write something here to explain complicated cases_ corresponds with fixme=
### leftover-questions
This tagrendering has no question and is thus read-only
### lod
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### minimap
Shows a small map with the feature. Added by default to every popup
This tagrendering has no question and is thus read-only
### last\_edit
Gives some metainfo about the last edit and who did edit it - rendering only
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
This tagrendering has labels `added_by_default`
### favourite\_status
This tagrendering has no question and is thus read-only
### qr\_code
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### share
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### all-tags
This tagrendering has no question and is thus read-only
This document is autogenerated from [assets/layers/address/address.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/address/address.json)