[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# sport_pitch
[object Object]
A sport pitch
- This layer is shown at zoomlevel **12** 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)
- [nothing_known](#nothing_known)
- [images](#images)
- [sport_pitch-sport](#sport_pitch-sport)
- [basketball-hoops](#basketball-hoops)
- [sport_pitch-surface](#sport_pitch-surface)
- [sport-pitch-access](#sport-pitch-access)
- [sport-pitch-reservation](#sport-pitch-reservation)
- [sport_pitch-phone](#sport_pitch-phone)
- [sport_pitch-email](#sport_pitch-email)
- [sport_pitch-opening_hours](#sport_pitch-opening_hours)
- [questions](#questions)
- [sport-pitch-reviews](#sport-pitch-reviews)
- [minimap](#minimap)
- [nearby_images](#nearby_images)
- [lod](#lod)
- [favourite_status](#favourite_status)
- [share](#share)
- [qr_code](#qr_code)
- [last_edit](#last_edit)
- [all-tags](#all-tags)
+ [Filters](#filters)
## Themes using this layer
- [personal](https://mapcomplete.org/personal)
- [speelplekken](https://mapcomplete.org/speelplekken)
- [sport_pitches](https://mapcomplete.org/sport_pitches)
- [sports](https://mapcomplete.org/sports)
## Basic tags for this layer
Elements must match the expression **leisure=pitch**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22leisure%22%3D%22pitch%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 |
-----|-----|----- |
| ] [object Object] | Multiple choice | |
| ] [object Object] | [string](../SpecialInputElements.md#string) | [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] |
| ] [object Object] | Multiple choice | [object Object] [object Object] [object Object] |
| ] [object Object] | [string](../SpecialInputElements.md#string) | [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] |
| ] [object Object] | Multiple choice | [object Object] [object Object] [object Object] [object Object] |
| ] [object Object] | Multiple choice | [object Object] [object Object] [object Object] [object Object] |
| ] [object Object] | [phone](../SpecialInputElements.md#phone) | |
| ] [object Object] | [email](../SpecialInputElements.md#email) | |
| ] [object Object] | [opening_hours](../SpecialInputElements.md#opening_hours) | [object Object] |
### 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= | _version_number=1) & _backend~.+
This tagrendering has labels
`added_by_default_top`
### nothing_known
_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:passed_time>=300 & _backend~.+
This tagrendering has labels
`added_by_default_top`
### 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_
### sport_pitch-sport
The question is `Which sport can be played here?`
This rendering asks information about the property
[sport](https://wiki.openstreetmap.org/wiki/Key:sport)
This is rendered with `{sport} is played here`
- *Basketball is played here* corresponds with sport=basketball
- *Soccer is played here* corresponds with sport=soccer
- *This is a pingpong table* corresponds with sport=table_tennis
- *Tennis is played here* corresponds with sport=tennis
- *Korfball is played here* corresponds with sport=korfball
- *Basketball is played here* corresponds with sport=basket
- _This option cannot be chosen as answer_
- *This is a skatepark* corresponds with sport=skateboard
### basketball-hoops
The question is `How much basketball hoops does this pitch have?`
- *This basketball pitch has a single hoop* corresponds with hoops=1
- *This basketball pitch has two hoops* corresponds with hoops=2
- *This basketball pitch has four hoops* corresponds with hoops=4
- *This basketball pitch has {hoops} hoops* corresponds with hoops~.+
- _This option cannot be chosen as answer_
This tagrendering is only visible in the popup if the following condition is met: sport~^((^|.*;)basketball(;.*|$))$
### sport_pitch-surface
The question is `Which is the surface of this sport pitch?`
This rendering asks information about the property
[surface](https://wiki.openstreetmap.org/wiki/Key:surface)
This is rendered with `The surface is {surface}`
- *The surface is grass* corresponds with surface=grass
- *The surface is sand* corresponds with surface=sand
- *The surface is paving stones* corresponds with surface=paving_stones
- *The surface is asphalt* corresponds with surface=asphalt
- *The surface is concrete* corresponds with surface=concrete
- *The surface is fine gravel* corresponds with surface=fine_gravel
- *The surface of this track is Tartan, a synthetic, slightly springy, porous surface* corresponds with surface=tartan
### sport-pitch-access
The question is `Is this sport pitch publicly accessible?`
- *Public access* corresponds with access=yes
- *Limited access (e.g. only with an appointment, during certain hours, …)* corresponds with access=limited
- *Only accessible for members of the club* corresponds with access=members
- *Private - not accessible to the public* corresponds with access=private
- *Public access* corresponds with access=public
- _This option cannot be chosen as answer_
### sport-pitch-reservation
The question is `Does one have to make an appointment to use this sport pitch?`
- *Making an appointment is obligatory to use this sport pitch* corresponds with reservation=required
- *Making an appointment is recommended when using this sport pitch* corresponds with reservation=recommended
- *Making an appointment is possible, but not necessary to use this sport pitch* corresponds with reservation=yes
- *Making an appointment is not possible* corresponds with reservation=no
### sport_pitch-phone
The question is `What is the phone number of the operator?`
This rendering asks information about the property
[phone](https://wiki.openstreetmap.org/wiki/Key:phone)
This is rendered with `{phone}`
### sport_pitch-email
The question is `What is the email address of the operator?`
This rendering asks information about the property
[email](https://wiki.openstreetmap.org/wiki/Key:email)
This is rendered with `{email}`
### sport_pitch-opening_hours
The question is `When is this pitch accessible?`
This rendering asks information about the property
[opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours)
This is rendered with `Openingsuren: {opening_hours_table()}`
- *Always accessible* corresponds with opening_hours=
- _This option cannot be chosen as answer_
- *Always accessible* corresponds with opening_hours=24/7
This tagrendering is only visible in the popup if the following condition is met: access~.+
### questions
Show the questions block at this location
_This tagrendering has no question and is thus read-only_
### sport-pitch-reviews
_This tagrendering has no question and is thus read-only_
### 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
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default_conditional`
### lod
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### favourite_status
_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`
### qr_code
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### 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`
### all-tags
_This tagrendering has no question and is thus read-only_
#### Filters
| id | question | osmTags |
-----|-----|----- |
| accessibility.0 | Publicly accessible | access=yes | access=public | access= |
| id | question | osmTags |
-----|-----|----- |
| available_sports.0 | *All sports* (default) | |
| available_sports.1 | Basketball fields | sport=basketball |
| available_sports.2 | Soccer fields | sport=soccer |
| available_sports.3 | Ping-pong tables | sport=table_tennis |
| available_sports.4 | Tennis fields | sport=tennis |
| available_sports.5 | Badminton fields | sport=badminton |
| id | question | osmTags |
-----|-----|----- |
| open_now.0 | Open now | _isOpen=yes |
This document is autogenerated from [assets/layers/sport_pitch/sport_pitch.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/sport_pitch/sport_pitch.json)