MapComplete/Docs/Layers/address.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

143 lines
7.7 KiB
Markdown
Raw Normal View History

2024-10-15 17:16:39 +02:00
[//]: # (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
## 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)
2025-04-10 04:51:26 +02:00
4. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
2025-02-10 02:04:58 +01:00
- [address_joined](#address_joined)
- [header](#header)
2024-10-15 17:16:39 +02:00
- [housenumber](#housenumber)
- [street](#street)
2025-02-10 02:04:58 +01:00
- [unit](#unit)
2024-10-15 17:16:39 +02:00
- [fixme](#fixme)
2025-06-16 14:46:12 +02:00
- [address-questions](#address-questions)
2024-10-15 17:16:39 +02:00
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [lod](#lod)
## 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
2025-04-10 04:51:26 +02:00
**Warning:**: this quick overview is incomplete
2024-10-15 17:16:39 +02:00
| attribute | type | values which are supported by this layer |
-----|-----|----- |
2025-02-10 02:04:58 +01:00
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/addr:street#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/addr%3Astreet/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [addr:street](https://wiki.openstreetmap.org/wiki/Key:addr:street) | Multiple choice | [](https://wiki.openstreetmap.org/wiki/Tag:addr:street%3D) |
2024-10-15 17:16:39 +02:00
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/addr:housenumber#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/addr%3Ahousenumber/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [addr:housenumber](https://wiki.openstreetmap.org/wiki/Key:addr:housenumber) | [string](../SpecialInputElements.md#string) | |
2025-02-10 02:04:58 +01:00
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/addr:street#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/addr%3Astreet/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [addr:street](https://wiki.openstreetmap.org/wiki/Key:addr:street) | [string](../SpecialInputElements.md#string) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/addr:unit#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/addr%3Aunit/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [addr:unit](https://wiki.openstreetmap.org/wiki/Key:addr:unit) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:addr:unit%3D) |
2024-10-15 17:16:39 +02:00
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/fixme#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/fixme/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [fixme](https://wiki.openstreetmap.org/wiki/Key:fixme) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:fixme%3D) |
2025-04-10 04:51:26 +02:00
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
2025-06-16 14:46:12 +02:00
| [address_joined](#address_joined) | _{group(header,street;housenumber;unit;address-questions,)}_ | address | _Multiple choice only_ |
2025-04-10 04:51:26 +02:00
| [header](#header) | _{addr:street} <b>{addr:housenumber}</b> {addr:unit}_<br/>1 options | address, hidden | _Multiple choice only_ |
| [housenumber](#housenumber) | What is the number of this house?<br/>_The house number is <b>{addr:housenumber}</b>_<br/>1 options | address, hidden | *[addr:housenumber](https://wiki.osm.org/wiki/Key:addr:housenumber)* ([string](../SpecialInputElements.md#string)) |
| [street](#street) | What street is this address located in?<br/>_This address is in street <b>{addr:street}</b>_ | address, hidden | *[addr:street](https://wiki.osm.org/wiki/Key:addr:street)* ([string](../SpecialInputElements.md#string)) |
| [unit](#unit) | What is the unit number or letter?<br/>_The unit number is <b>{addr:unit}</b>_<br/>1 options | address, hidden | *[addr:unit](https://wiki.osm.org/wiki/Key:addr:unit)* ([string](../SpecialInputElements.md#string)) |
| [fixme](#fixme) | What should be fixed here? Please explain<br/>_<b>Fixme description</b>{fixme}_<br/>1 options | | *[fixme](https://wiki.osm.org/wiki/Key:fixme)* ([string](../SpecialInputElements.md#string)) |
2025-06-16 14:46:12 +02:00
| [address-questions](#address-questions) | _{questions(address,,)}_ | address, hidden | _Multiple choice only_ |
2025-06-18 21:40:01 +02:00
| [leftover-questions](#leftover-questions) | _{questions( ,hidden;address)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
2025-04-10 04:51:26 +02:00
| [move-button](#move-button) | _{move_button()}_ | | _Multiple choice only_ |
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |
2025-02-10 02:04:58 +01:00
### address_joined
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-06-16 14:46:12 +02:00
*{group(header,street;housenumber;unit;address-questions,)}*
2025-02-10 02:04:58 +01:00
2025-06-18 21:40:01 +02:00
This tagrendering has labels `address`
2025-02-10 02:04:58 +01:00
### header
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-02-10 02:04:58 +01:00
*{addr:street} <b>{addr:housenumber}</b> {addr:unit}*
- *No address is known* is shown if with addr:street= & addr:unit= & addr:housenumber=
2025-06-18 21:40:01 +02:00
This tagrendering has labels `address` `hidden`
2025-02-10 02:04:58 +01:00
2024-10-15 17:16:39 +02:00
### housenumber
The question is `What is the number of this house?`
2025-05-19 23:05:37 +02:00
*The house number is <b>{addr:housenumber}</b>* is shown if `addr:housenumber` is set.
2024-10-15 17:16:39 +02:00
- *This building has no house number* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:nohousenumber' target='_blank'>nohousenumber</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:nohousenumber%3Dyes' target='_blank'>yes</a>
2025-06-18 21:40:01 +02:00
This tagrendering has labels `address` `hidden`
2025-02-10 02:04:58 +01:00
2024-10-15 17:16:39 +02:00
### street
The question is `What street is this address located in?`
2025-05-19 23:05:37 +02:00
*This address is in street <b>{addr:street}</b>* is shown if `addr:street` is set.
2024-10-15 17:16:39 +02:00
2025-06-18 21:40:01 +02:00
This tagrendering has labels `address` `hidden`
2025-02-10 02:04:58 +01:00
### unit
The question is `What is the unit number or letter?`
2025-05-19 23:05:37 +02:00
*The unit number is <b>{addr:unit}</b>* is shown if `addr:unit` is set.
2025-02-10 02:04:58 +01:00
- *No unit number* is shown if with addr:unit=
2025-06-18 21:40:01 +02:00
This tagrendering has labels `address` `hidden`
2024-10-15 17:16:39 +02:00
### fixme
The question is `What should be fixed here? Please explain`
2025-05-19 23:05:37 +02:00
*<b>Fixme description</b>{fixme}* is shown if `fixme` is set.
2024-10-15 17:16:39 +02:00
- *No fixme - write something here to explain complicated cases* is shown if with fixme=
2025-06-16 14:46:12 +02:00
### address-questions
_This tagrendering has no question and is thus read-only_
*{questions(address,,)}*
2025-06-18 21:40:01 +02:00
This tagrendering has labels `address` `hidden`
2025-06-16 14:46:12 +02:00
2024-10-15 17:16:39 +02:00
### leftover-questions
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-06-18 21:40:01 +02:00
*{questions( ,hidden;address)}*
2024-10-15 17:16:39 +02:00
2025-06-18 21:40:01 +02:00
This tagrendering has labels `ignore-docs` `added_by_default`
2025-04-15 18:18:44 +02:00
2024-10-15 17:16:39 +02:00
### move-button
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{move_button()}*
### lod
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{linked_data_from_website()}*
2025-06-18 21:40:01 +02:00
This tagrendering has labels `added_by_default`
2024-10-15 17:16:39 +02:00
2025-01-28 15:42:34 +01:00
This document is autogenerated from [assets/layers/address/address.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/address/address.json)