mapcomplete/Docs/Layers/hydrant.md

226 lines
10 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
hydrant
=======
Map layer to show fire hydrants.
* This layer is shown at zoomlevel **14** 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-)
* [just\_created](#just_created)
* [hydrant-color](#hydrant-color)
* [hydrant-type](#hydrant-type)
* [hydrant-state](#hydrant-state)
* [hydrant-diameter](#hydrant-diameter)
* [hydrant-number-of-couplings](#hydrant-number-of-couplings)
* [hydrant-couplings](#hydrant-couplings)
* [hydrant-couplings-diameters](#hydrant-couplings-diameters)
* [images](#images)
* [leftover-questions](#leftover-questions)
* [lod](#lod)
* [minimap](#minimap)
* [move-button](#move-button)
* [last\_edit](#last_edit)
* [favourite\_status](#favourite_status)
* [qr\_code](#qr_code)
* [share](#share)
* [all-tags](#all-tags)
Themes using this layer
-----------------------
* [hailhydrant](https://mapcomplete.org/hailhydrant)
* [personal](https://mapcomplete.org/personal)
Basic tags for this layer
-------------------------
Elements must match the expression **[emergency](https://wiki.openstreetmap.org/wiki/Key:emergency)\=[fire\_hydrant](https://wiki.openstreetmap.org/wiki/Tag:emergency%3Dfire_hydrant)**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22emergency%22%3D%22fire_hydrant%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
Supported attributes
--------------------
Warning:
this quick overview is incomplete
attribute
type
values which are supported by this layer
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id)
Multiple choice
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/colour#values) [colour](https://wiki.openstreetmap.org/wiki/Key:colour)
[string](../SpecialInputElements.md#string)
[yellow](https://wiki.openstreetmap.org/wiki/Tag:colour%3Dyellow) [red](https://wiki.openstreetmap.org/wiki/Tag:colour%3Dred)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/fire_hydrant:type#values) [fire\_hydrant:type](https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type)
[string](../SpecialInputElements.md#string)
[pillar](https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dpillar) [pipe](https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dpipe) [wall](https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dwall) [underground](https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dunderground)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/emergency#values) [emergency](https://wiki.openstreetmap.org/wiki/Key:emergency)
Multiple choice
[fire\_hydrant](https://wiki.openstreetmap.org/wiki/Tag:emergency%3Dfire_hydrant)[](https://wiki.openstreetmap.org/wiki/Tag:emergency%3D)[](https://wiki.openstreetmap.org/wiki/Tag:emergency%3D)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/fire_hydrant:diameter#values) [fire\_hydrant:diameter](https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:diameter)
[int](../SpecialInputElements.md#int)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/couplings#values) [couplings](https://wiki.openstreetmap.org/wiki/Key:couplings)
[int](../SpecialInputElements.md#int)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/couplings:type#values) [couplings:type](https://wiki.openstreetmap.org/wiki/Key:couplings:type)
[string](../SpecialInputElements.md#string)
[Storz](https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DStorz) [UNI](https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DUNI) [Barcelona](https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DBarcelona)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/couplings:diameters#values) [couplings:diameters](https://wiki.openstreetmap.org/wiki/Key:couplings:diameters)
[string](../SpecialInputElements.md#string)
### just\_created
This element shows a 'thank you' that the contributor has recently created this element
This tagrendering has no question and is thus read-only
* _You just created this element! Thanks for sharing this info with the world and helping people worldwide._ corresponds with id~.+
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+`
This tagrendering has labels `added_by_default`
### hydrant-color
The question is _What color is the hydrant?_
This rendering asks information about the property [colour](https://wiki.openstreetmap.org/wiki/Key:colour) This is rendered with `The hydrant color is {colour}`
* _The hydrant color is yellow._ corresponds with [colour](https://wiki.openstreetmap.org/wiki/Key:colour)\=[yellow](https://wiki.openstreetmap.org/wiki/Tag:colour%3Dyellow)
* _The hydrant color is red._ corresponds with [colour](https://wiki.openstreetmap.org/wiki/Key:colour)\=[red](https://wiki.openstreetmap.org/wiki/Tag:colour%3Dred)
### hydrant-type
The question is _What type of hydrant is it?_
This rendering asks information about the property [fire\_hydrant:type](https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type) This is rendered with `Hydrant type: {fire_hydrant:type}`
* _Pillar type._ corresponds with [fire\_hydrant:type](https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type)\=[pillar](https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dpillar)
* _Pipe type._ corresponds with [fire\_hydrant:type](https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type)\=[pipe](https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dpipe)
* _Wall type._ corresponds with [fire\_hydrant:type](https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type)\=[wall](https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dwall)
* _Underground type._ corresponds with [fire\_hydrant:type](https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type)\=[underground](https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dunderground)
### hydrant-state
The question is _Is this hydrant still working?_
* _The hydrant is (fully or partially) working_ corresponds with [emergency](https://wiki.openstreetmap.org/wiki/Key:emergency)\=[fire\_hydrant](https://wiki.openstreetmap.org/wiki/Tag:emergency%3Dfire_hydrant)
* _The hydrant is unavailable_ corresponds with [disused:emergency](https://wiki.openstreetmap.org/wiki/Key:disused:emergency)\=[fire\_hydrant](https://wiki.openstreetmap.org/wiki/Tag:disused:emergency%3Dfire_hydrant) & emergency=
* _The hydrant has been removed_ corresponds with [removed:emergency](https://wiki.openstreetmap.org/wiki/Key:removed:emergency)\=[fire\_hydrant](https://wiki.openstreetmap.org/wiki/Tag:removed:emergency%3Dfire_hydrant) & emergency=
### hydrant-diameter
The question is _What is the pipe diameter of this hydrant?_
This rendering asks information about the property [fire\_hydrant:diameter](https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:diameter) This is rendered with `Pipe diameter: {canonical(fire_hydrant:diameter)}`
### hydrant-number-of-couplings
The question is _How many couplings does this fire hydrant have?_
This rendering asks information about the property [couplings](https://wiki.openstreetmap.org/wiki/Key:couplings) This is rendered with `Number of couplings: {couplings}`
### hydrant-couplings
The question is _What kind of couplings does this hydrant have?_
This rendering asks information about the property [couplings:type](https://wiki.openstreetmap.org/wiki/Key:couplings:type) This is rendered with `Couplings: {couplings:type}`
* _Storz coupling_ corresponds with [couplings:type](https://wiki.openstreetmap.org/wiki/Key:couplings:type)\=[Storz](https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DStorz)
* _UNI coupling_ corresponds with [couplings:type](https://wiki.openstreetmap.org/wiki/Key:couplings:type)\=[UNI](https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DUNI)
* _Barcelona coupling_ corresponds with [couplings:type](https://wiki.openstreetmap.org/wiki/Key:couplings:type)\=[Barcelona](https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DBarcelona)
### hydrant-couplings-diameters
The question is _What diameter are the couplings of this hydrant?_
This rendering asks information about the property [couplings:diameters](https://wiki.openstreetmap.org/wiki/Key:couplings:diameters) This is rendered with `Coupling diameters: {couplings:diameters}`
### 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
### leftover-questions
This tagrendering has no question and is thus read-only
### lod
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### minimap
Shows a small map with the feature. Added by default to every popup
This tagrendering has no question and is thus read-only
### move-button
This tagrendering has no question and is thus read-only
### last\_edit
Gives some metainfo about the last edit and who did edit it - rendering only
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
This tagrendering has labels `added_by_default`
### favourite\_status
This tagrendering has no question and is thus read-only
### qr\_code
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### share
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### all-tags
This tagrendering has no question and is thus read-only
This document is autogenerated from [assets/layers/hydrant/hydrant.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/hydrant/hydrant.json)