MapComplete/Docs/Layers/postboxes.md

4.9 KiB

postboxes

The layer showing postboxes.

  • This layer is shown at zoomlevel 12 and higher
  • This layer will automatically load walls_and_buildings into the layout as it depends on it: preset a postbox on a wall snaps to this layer (postboxes.presets[1])

Table of contents

  1. Themes using this layer
  2. Presets
  3. Basic tags for this layer
  4. Supported attributes
  5. Featureview elements and TagRenderings

Themes using this layer

Presets

The following options to create new points are included:

  • a postbox which has the following tags:amenity=post_box
  • a postbox on a wall which has the following tags:amenity=post_box (snaps to layers walls_and_buildings)

Basic tags for this layer

Elements must match the expression amenity=post_box

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
operator string

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
minimap {minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; } Multiple choice only
operator Who operates this postbox?
This postbox is operated by {operator}
operator (string)
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
move-button {move_button()} Multiple choice only
delete-button {delete_button()} Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

images

This block shows the known images which are linked with the image-keys, but also via mapillary and wikidata and shows the button to upload new images This tagrendering has no question and is thus read-only {image_carousel()}{image_upload()}

minimap

This tagrendering has no question and is thus read-only {minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }

operator

The question is Who operates this postbox? This postbox is operated by {operator} is shown if operator is set

leftover-questions

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

This tagrendering has labels ignore-docs added_by_default

move-button

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

delete-button

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

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/layers/postboxes/postboxes.json