mapcomplete/Docs/Themes/postal_codes.md

214 lines
5.3 KiB
Markdown
Raw Normal View History

2023-02-12 23:08:57 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2024-07-12 03:16:41 +02:00
## Postal codes ( [postal_codes](https://mapcomplete.org/postal_codes) )
2024-07-16 19:31:00 +02:00
_This document details some technical information about this MapComplete theme, mostly about the attributes used in the theme. Various links point toward more information about the attributes, e.g. to the OpenStreetMap-wiki, to TagInfo or tools creating statistics_
The theme introduction reads:
> Postal codes
This theme contains the following layers:
2024-07-16 19:31:00 +02:00
- [postal_code_boundary (defined in this theme)](#postal_code_boundary)
- [wrong_postal_code (defined in this theme)](#wrong_postal_code)
- [town_hall (defined in this theme)](#town_hall)
Available languages:
2024-07-16 19:31:00 +02:00
2024-07-12 03:16:41 +02:00
- en
- id
- hu
- de
- ca
- es
- nb_NO
- nl
- fr
- da
- pa_PK
- cs
- zh_Hant
- it
- pl
2024-07-16 19:31:00 +02:00
# Table of contents
- [Postal codes ( postal_codes )](#postal-codes-(-postal_codes-))
1. [Layers defined in this theme configuration file](#layers-defined-in-this-theme-configuration-file)
2. [postal_code_boundary](#postal_code_boundary)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
+ [postal_code](#postal_code)
+ [leftover-questions](#leftover-questions)
+ [lod](#lod)
3. [wrong_postal_code](#wrong_postal_code)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
+ [lod](#lod)
+ [leftover-questions](#leftover-questions)
4. [town_hall](#town_hall)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
+ [leftover-questions](#leftover-questions)
+ [lod](#lod)
# Layers defined in this theme configuration file
These layers can not be reused in different themes.
# postal_code_boundary
- This layer is shown at zoomlevel **8** and higher
No themes use this layer
## Basic tags for this layer
Elements must match **any** of the following expressions:
- <a href='https://wiki.openstreetmap.org/wiki/Key:boundary' target='_blank'>boundary</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dpostal_code' target='_blank'>postal_code</a>
- <a href='https://wiki.openstreetmap.org/wiki/Key:bounary' target='_blank'>bounary</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:bounary%3Dadministrative' target='_blank'>administrative</a> & postal_code~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22boundary%22%3D%22postal_code%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22bounary%22%3D%22administrative%22%5D%5B%22postal_code%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
### postal_code
_This tagrendering has no question and is thus read-only_
*The postal code is {postal_code}*
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### lod
_This tagrendering has no question and is thus read-only_
*{linked_data_from_website()}*
This tagrendering has labels
`added_by_default`
# wrong_postal_code
- This layer is shown at zoomlevel **0** and higher
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
No themes use this layer
## Basic tags for this layer
Elements must match **all** of the following expressions:
0. addr:postcode~.+
1. boundary~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22addr%3Apostcode%22%5D%5B%22boundary%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
### lod
_This tagrendering has no question and is thus read-only_
*{linked_data_from_website()}*
This tagrendering has labels
`added_by_default`
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
# town_hall
- This layer is shown at zoomlevel **12** and higher
No themes use this layer
## Basic tags for this layer
Elements must match **any** of the following expressions:
- <a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dtownhall' target='_blank'>townhall</a>
- <a href='https://wiki.openstreetmap.org/wiki/Key:building' target='_blank'>building</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:building%3Dchurch' target='_blank'>church</a>
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22amenity%22%3D%22townhall%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22building%22%3D%22church%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### lod
_This tagrendering has no question and is thus read-only_
*{linked_data_from_website()}*
This tagrendering has labels
`added_by_default`
2023-02-12 23:08:57 +01:00
This document is autogenerated from [assets/themes/postal_codes/postal_codes.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/postal_codes/postal_codes.json)