MapComplete/Docs/Layers/hydrant.md

14 KiB

hydrant

Map layer to show fire hydrants.

  • This layer is shown at zoomlevel 14 and higher

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:

Basic tags for this layer

Elements must match the expression emergency=fire_hydrant

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
colour string yellow red
fire_hydrant:type string pillar pipe wall underground
emergency Multiple choice fire_hydrant
fire_hydrant:diameter int
couplings int
couplings:type string Storz UNI Barcelona
couplings:diameters string
ref string

Featureview elements and TagRenderings

id question labels freeform key
hydrant-color What color is the hydrant?
The hydrant color is {colour}
2 options
colour (string)
hydrant-type What type of hydrant is it?
_ Hydrant type: {fire_hydrant:type}_
4 options
fire_hydrant:type (string)
hydrant-state Is this hydrant still working?
3 options
Multiple choice only
hydrant-diameter What is the pipe diameter of this hydrant?
Pipe diameter: {canonical(fire_hydrant:diameter)}
fire_hydrant:diameter (int)
hydrant-number-of-couplings How many couplings does this fire hydrant have?
Number of couplings: {couplings}
couplings (int)
hydrant-couplings What kind of couplings does this hydrant have?
Couplings: {couplings:type}
3 options
couplings:type (string)
hydrant-couplings-diameters What diameter are the couplings of this hydrant?
Coupling diameters: {couplings:diameters}
couplings:diameters (string)
ref What is the reference number of this hydrant?
Reference number: {ref}
ref (string)
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
move-button {move_button()} Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

hydrant-color

The question is What color is the hydrant? The hydrant color is {colour} is shown if colour is set

  • The hydrant color is yellow. is shown if with colour=yellow
  • The hydrant color is red. is shown if with colour=red

hydrant-type

The question is What type of hydrant is it?

  • Hydrant type: {fire_hydrant:type}* is shown if fire_hydrant:type is set

hydrant-state

The question is Is this hydrant still working?

hydrant-diameter

The question is What is the pipe diameter of this hydrant? Pipe diameter: {canonical(fire_hydrant:diameter)} is shown if fire_hydrant:diameter is set

hydrant-number-of-couplings

The question is How many couplings does this fire hydrant have? Number of couplings: {couplings} is shown if couplings is set

hydrant-couplings

The question is What kind of couplings does this hydrant have? Couplings: {couplings:type} is shown if couplings:type is set

hydrant-couplings-diameters

The question is What diameter are the couplings of this hydrant? Coupling diameters: {couplings:diameters} is shown if couplings:diameters is set

ref

The question is What is the reference number of this hydrant? Reference number: {ref} is shown if ref is set

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

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

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/hydrant/hydrant.json