mapcomplete/Docs/Layers/police.md

173 lines
10 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# police
Many types of police facilities
- This layer is shown at zoomlevel **10** and higher
## Table of contents
1. [Themes using this layer](#themes-using-this-layer)
2. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
- [images](#images)
- [reviews](#reviews)
- [police_name](#police_name)
- [presettypeselect](#presettypeselect)
- [phone](#phone)
- [email](#email)
- [website](#website)
- [opening_hours](#opening_hours)
- [Opening hours](#opening-hours)
- [4_z2nrdhy6tyyh4fd](#4_z2nrdhy6tyyh4fd)
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [delete-button](#delete-button)
- [lod](#lod)
5. [Filters](#filters)
## Themes using this layer
- [disaster_response](https://mapcomplete.org/disaster_response)
- [personal](https://mapcomplete.org/personal)
- [surveillance](https://mapcomplete.org/surveillance)
## Presets
The following options to create new points are included:
- **a police office** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpolice' target='_blank'>police</a>
- **a police checkpoint** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:police' target='_blank'>police</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:police%3Dcheckpoint' target='_blank'>checkpoint</a>
- **an administrative, police backoffice** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:police' target='_blank'>police</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:police%3Doffices' target='_blank'>offices</a>
- **a police detention center** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:police' target='_blank'>police</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:police%3Ddetention' target='_blank'>detention</a>
- **a police naval base** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:police' target='_blank'>police</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:police%3Dnaval_base' target='_blank'>naval_base</a>
## Basic tags for this layer
Elements must match **any** of the following expressions:
- <a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpolice' target='_blank'>police</a>
- police~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22amenity%22%3D%22police%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22police%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 |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/name#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/name/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [name](https://wiki.openstreetmap.org/wiki/Key:name) | [string](../SpecialInputElements.md#string) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/phone#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/phone/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [phone](https://wiki.openstreetmap.org/wiki/Key:phone) | [phone](../SpecialInputElements.md#phone) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/email#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/email/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [email](https://wiki.openstreetmap.org/wiki/Key:email) | [email](../SpecialInputElements.md#email) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/website#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/website/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [website](https://wiki.openstreetmap.org/wiki/Key:website) | [url](../SpecialInputElements.md#url) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/opening_hours#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/opening_hours/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours) | [opening_hours](../SpecialInputElements.md#opening_hours) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/detention#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/detention/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [detention](https://wiki.openstreetmap.org/wiki/Key:detention) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:detention%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:detention%3Dno) |
### 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()}*
### reviews
Shows the reviews module (including the possibility to leave a review)
_This tagrendering has no question and is thus read-only_
*{create_review()}{list_reviews()}*
### police_name
The question is `What is the name of this police facility?`
*<b>{name}</b>* is shown if `name` is set
### presettypeselect
_This tagrendering has no question and is thus read-only_
*{preset_type_select()}*
### phone
The question is `What is the phone number of {title()}?`
*{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}* is shown if `phone` is set
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/questions/phone.svg' style='width: 3rem; height: 3rem'> *{link(&LBRACEcontact:phone&RBRACE,tel:&LBRACEcontact:phone&RBRACE,,,,)}* is shown if with contact:phone~.+. _This option cannot be chosen as answer_
This tagrendering has labels
`contact`
### email
The question is `What is the email address of {title()}?`
*<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>* is shown if `email` is set
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/envelope.svg' style='width: 3rem; height: 3rem'> *<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>* is shown if with contact:email~.+. _This option cannot be chosen as answer_
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/envelope.svg' style='width: 3rem; height: 3rem'> *<a href='mailto:{operator:email}' target='_blank' rel='noopener'>{operator:email}</a>* is shown if with operator:email~.+. _This option cannot be chosen as answer_
This tagrendering has labels
`contact`
### website
The question is `What is the website of {title()}?`
*<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>* is shown if `website` is set
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/icons/website.svg' style='width: 3rem; height: 3rem'> *<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>* is shown if with contact:website~.+. _This option cannot be chosen as answer_
This tagrendering has labels
`contact`
### opening_hours
The question is `What are the opening hours of {title()}?`
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set
- *Marked as closed for an unspecified time* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3Dclosed' target='_blank'>closed</a>. _This option cannot be chosen as answer_
### 4_z2nrdhy6tyyh4fd
The question is `Does this police office have detention facilities?`
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/police/jail.svg' style='width: 3rem; height: 3rem'> *This police office has some cells to detain people* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:detention' target='_blank'>detention</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:detention%3Dyes' target='_blank'>yes</a>
- *This police office does not have cells to detain people* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:detention' target='_blank'>detention</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:detention%3Dno' target='_blank'>no</a>
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpolice' target='_blank'>police</a>
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### 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`
## Filters
| id | question | osmTags |
-----|-----|----- |
| open_now.0 | Open now | _isOpen=yes |
| id | question | osmTags |
-----|-----|----- |
| 4_z2nrdhy6tyyh4fd.0 | *Does this police office have detention facilities?* (default) | |
| 4_z2nrdhy6tyyh4fd.1 | This police office has some cells to detain people | detention=yes |
| 4_z2nrdhy6tyyh4fd.2 | This police office does not have cells to detain people | detention=no |
This document is autogenerated from [assets/layers/police/police.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/police/police.json)