MapComplete/Docs/Themes/postal_codes.md

7 KiB

Postal codes ( postal_codes )

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:

Available languages:

  • en
  • id
  • hu
  • de
  • ca
  • es
  • nb_NO
  • nl
  • fr
  • da
  • pa_PK
  • cs
  • zh_Hant
  • it
  • pl
  • ko

Table of contents

  1. Layers defined in this theme configuration file
  2. postal_code_boundary
  1. wrong_postal_code
  1. town_hall

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:

Execute on overpass

Supported attributes

Featureview elements and TagRenderings

id question labels freeform key
postal_code The postal code is {postal_code} Multiple choice only
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

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( ,hidden)}

This tagrendering has labels ignore-docs added_by_default

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:

  1. addr:postcode~.+
  2. boundary~.+

Execute on overpass

Supported attributes

Featureview elements and TagRenderings

id question labels freeform key
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only

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( ,hidden)}

This tagrendering has labels ignore-docs added_by_default

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:

Execute on overpass

Supported attributes

Featureview elements and TagRenderings

id question labels freeform key
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

leftover-questions

This tagrendering has no question and is thus read-only {questions( ,hidden)}

This tagrendering has labels ignore-docs added_by_default

lod

This tagrendering has no question and is thus read-only {linked_data_from_website()}

This tagrendering has labels added_by_default

This document is autogenerated from assets/themes/postal_codes/postal_codes.json