mapcomplete/Docs/Layers/hydrant.md

258 lines
12 KiB
Markdown
Raw Normal View History

[//]: # (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
# hydrant
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
[object Object]
Map layer to show fire hydrants.
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
- This layer is shown at zoomlevel **14** and higher
2024-05-07 00:41:59 +02:00
## Table of contents
2024-07-12 03:16:41 +02:00
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)
2024-06-18 21:11:42 +02:00
- [just_created](#just_created)
- [nothing_known](#nothing_known)
- [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)
- [minimap](#minimap)
- [nearby_images](#nearby_images)
- [move-button](#move-button)
- [lod](#lod)
- [favourite_status](#favourite_status)
- [share](#share)
- [qr_code](#qr_code)
- [last_edit](#last_edit)
- [all-tags](#all-tags)
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
## Themes using this layer
2024-07-12 03:16:41 +02:00
- [hailhydrant](https://mapcomplete.org/hailhydrant)
- [personal](https://mapcomplete.org/personal)
2024-07-12 03:16:41 +02:00
## Basic tags for this layer
2024-05-07 00:41:59 +02:00
Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:emergency' target='_blank'>emergency</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:emergency%3Dfire_hydrant' target='_blank'>fire_hydrant</a>**
2024-05-07 00:41:59 +02:00
[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)
2024-07-12 03:16:41 +02:00
## Supported attributes
2024-07-12 03:16:41 +02:00
**Warning:**,this quick overview is incomplete,
2024-07-12 03:16:41 +02:00
| attribute | type | values which are supported by this layer |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/id#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | Multiple choice | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/colour#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [string](../SpecialInputElements.md#string) | [object Object] [object Object] |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/fire_hydrant:type#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [string](../SpecialInputElements.md#string) | [object Object] [object Object] [object Object] [object Object] |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/emergency#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | Multiple choice | [object Object] [object Object] [object Object] |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/fire_hydrant:diameter#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [int](../SpecialInputElements.md#int) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/couplings#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [int](../SpecialInputElements.md#int) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/couplings:type#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [string](../SpecialInputElements.md#string) | [object Object] [object Object] [object Object] |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/couplings:diameters#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [string](../SpecialInputElements.md#string) | |
2024-06-18 21:11:42 +02:00
### just_created
This element shows a 'thank you' that the contributor has recently created this element
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-06-19 00:08:40 +02:00
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/party.svg' style='width: 3rem; height: 3rem'> *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
2024-06-16 16:06:26 +02:00
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
2024-06-18 21:11:42 +02:00
`added_by_default_top`
### nothing_known
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time>=300 & _backend~.+
This tagrendering has labels
`added_by_default_top`
### hydrant-color
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
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}`
2024-06-19 00:08:40 +02:00
- *The hydrant color is yellow.* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dyellow' target='_blank'>yellow</a>
- *The hydrant color is red.* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:colour' target='_blank'>colour</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:colour%3Dred' target='_blank'>red</a>
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### hydrant-type
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
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}`
2024-06-19 00:08:40 +02:00
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/themes/hailhydrant/hydrant_pillar.svg' style='width: 3rem; height: 3rem'> *Pillar type.* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type' target='_blank'>fire_hydrant:type</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dpillar' target='_blank'>pillar</a>
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/themes/hailhydrant/hydrant_unknown.svg' style='width: 3rem; height: 3rem'> *Pipe type.* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type' target='_blank'>fire_hydrant:type</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dpipe' target='_blank'>pipe</a>
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/themes/hailhydrant/hydrant_unknown.svg' style='width: 3rem; height: 3rem'> *Wall type.* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type' target='_blank'>fire_hydrant:type</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dwall' target='_blank'>wall</a>
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/themes/hailhydrant/hydrant_underground.svg' style='width: 3rem; height: 3rem'> *Underground type.* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:fire_hydrant:type' target='_blank'>fire_hydrant:type</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fire_hydrant:type%3Dunderground' target='_blank'>underground</a>
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### hydrant-state
2024-06-16 16:06:26 +02:00
The question is `Is this hydrant still working?`
2024-06-19 00:08:40 +02:00
- *The hydrant is (fully or partially) working* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:emergency' target='_blank'>emergency</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:emergency%3Dfire_hydrant' target='_blank'>fire_hydrant</a>
- *The hydrant is unavailable* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:disused:emergency' target='_blank'>disused:emergency</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:disused:emergency%3Dfire_hydrant' target='_blank'>fire_hydrant</a> & emergency=
- *The hydrant has been removed* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:removed:emergency' target='_blank'>removed:emergency</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:removed:emergency%3Dfire_hydrant' target='_blank'>fire_hydrant</a> & emergency=
2024-06-18 21:11:42 +02:00
### hydrant-diameter
2024-06-16 16:06:26 +02:00
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)}`
2024-06-18 21:11:42 +02:00
### hydrant-number-of-couplings
2024-06-16 16:06:26 +02:00
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}`
2024-06-18 21:11:42 +02:00
### hydrant-couplings
2024-06-16 16:06:26 +02:00
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}`
2024-06-19 00:08:40 +02:00
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/hydrant/storz.jpg' style='width: 3rem; height: 3rem'> *Storz coupling* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:couplings:type' target='_blank'>couplings:type</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DStorz' target='_blank'>Storz</a>
- *UNI coupling* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:couplings:type' target='_blank'>couplings:type</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DUNI' target='_blank'>UNI</a>
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/hydrant/barcelona.jpg' style='width: 3rem; height: 3rem'> *Barcelona coupling* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:couplings:type' target='_blank'>couplings:type</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:couplings:type%3DBarcelona' target='_blank'>Barcelona</a>
2024-06-18 21:11:42 +02:00
### hydrant-couplings-diameters
2024-06-16 16:06:26 +02:00
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}`
2024-06-18 21:11:42 +02:00
### images
2024-05-07 00:41:59 +02:00
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
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### leftover-questions
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### minimap
Shows a small map with the feature. Added by default to every popup
_This tagrendering has no question and is thus read-only_
### nearby_images
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
2024-06-18 21:11:42 +02:00
`added_by_default_conditional`
### move-button
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### lod
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-02-12 12:52:28 +01:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### favourite_status
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### share
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2023-12-30 15:24:30 +01:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### qr_code
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2023-12-30 15:24:30 +01:00
2024-06-18 21:11:42 +02:00
### last_edit
Gives some metainfo about the last edit and who did edit it - rendering only
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering is only visible in the popup if the following condition is met: _last_edit:changeset~.+ & _last_edit:contributor~.+
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### all-tags
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
2024-05-07 00:41:59 +02:00
This document is autogenerated from [assets/layers/hydrant/hydrant.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/hydrant/hydrant.json)