[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)

# sport_pitch

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. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
  - [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)
  - [create_copy](#create_copy)
  - [move-button](#move-button)
  - [spacer](#spacer)
  - [lod](#lod)
6. [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)

## Presets

The following options to create new points are included:

 - **a tabletennis table** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:leisure' target='_blank'>leisure</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dpitch' target='_blank'>pitch</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dtable_tennis' target='_blank'>table_tennis</a>
 - **a sport pitch** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:leisure' target='_blank'>leisure</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dpitch' target='_blank'>pitch</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:fixme' target='_blank'>fixme</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fixme%3DGeometry to be drawn, added by MapComplete' target='_blank'>Geometry to be drawn, added by MapComplete</a>
 - **a skatepark** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:leisure' target='_blank'>leisure</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dpitch' target='_blank'>pitch</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dskateboard' target='_blank'>skateboard</a>
 - **a horse riding arena** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:leisure' target='_blank'>leisure</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dpitch' target='_blank'>pitch</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dequestrian' target='_blank'>equestrian</a>

## Basic tags for this layer

Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:leisure' target='_blank'>leisure</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dpitch' target='_blank'>pitch</a>**

[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 |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/sport#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/sport/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [sport](https://wiki.openstreetmap.org/wiki/Key:sport) | [string](../SpecialInputElements.md#string) | [basketball](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dbasketball) [soccer](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dsoccer) [table_tennis](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dtable_tennis) [tennis](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dtennis) [korfball](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dkorfball) [skateboard](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dskateboard) [equestrian](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dequestrian) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/hoops#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/hoops/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [hoops](https://wiki.openstreetmap.org/wiki/Key:hoops) | Multiple choice | [1](https://wiki.openstreetmap.org/wiki/Tag:hoops%3D1) [2](https://wiki.openstreetmap.org/wiki/Tag:hoops%3D2) [4](https://wiki.openstreetmap.org/wiki/Tag:hoops%3D4) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/surface#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/surface/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [surface](https://wiki.openstreetmap.org/wiki/Key:surface) | [string](../SpecialInputElements.md#string) | [grass](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dgrass) [sand](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dsand) [paving_stones](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dpaving_stones) [asphalt](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dasphalt) [concrete](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dconcrete) [fine_gravel](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dfine_gravel) [tartan](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dtartan) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/access#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/access/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [access](https://wiki.openstreetmap.org/wiki/Key:access) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:access%3Dyes) [limited](https://wiki.openstreetmap.org/wiki/Tag:access%3Dlimited) [members](https://wiki.openstreetmap.org/wiki/Tag:access%3Dmembers) [private](https://wiki.openstreetmap.org/wiki/Tag:access%3Dprivate) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/reservation#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/reservation/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [reservation](https://wiki.openstreetmap.org/wiki/Key:reservation) | Multiple choice | [required](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drequired) [recommended](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drecommended) [yes](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dno) |
| <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/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) | [24/7](https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D24/7) |

## Featureview elements and TagRenderings

| id | question | labels | freeform key |
-----|-----|-----|----- |
| [images](#images) <br/> _(Original in [questions](./BuiltinQuestions.md#images))_ | _{image_carousel()}{image_upload()}_ |  | _Multiple choice only_ |
| [sport_pitch-sport](#sport_pitch-sport)  | Which sport can be played here?<br/>_{sport} is played here_<br/>8 options |  | *[sport](https://wiki.osm.org/wiki/Key:sport)* ([string](../SpecialInputElements.md#string)) |
| [basketball-hoops](#basketball-hoops)  | How much basketball hoops does this pitch have?<br/>4 options |  | _Multiple choice only_ |
| [sport_pitch-surface](#sport_pitch-surface)  | Which is the surface of this sport pitch?<br/>_The surface is <b>{surface}</b>_<br/>7 options |  | *[surface](https://wiki.osm.org/wiki/Key:surface)* ([string](../SpecialInputElements.md#string)) |
| [sport-pitch-access](#sport-pitch-access)  | Is this sport pitch publicly accessible?<br/>5 options |  | _Multiple choice only_ |
| [sport-pitch-reservation](#sport-pitch-reservation)  | Does one have to make an appointment to use this sport pitch?<br/>4 options |  | _Multiple choice only_ |
| [sport_pitch-phone](#sport_pitch-phone)  | What is the phone number of the operator?<br/>_<a href='tel:{phone}'>{phone}</a>_ |  | *[phone](https://wiki.osm.org/wiki/Key:phone)* ([phone](../SpecialInputElements.md#phone)) |
| [sport_pitch-email](#sport_pitch-email)  | What is the email address of the operator?<br/>_<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>_ |  | *[email](https://wiki.osm.org/wiki/Key:email)* ([email](../SpecialInputElements.md#email)) |
| [sport_pitch-opening_hours](#sport_pitch-opening_hours)  | When is this pitch accessible?<br/>_Openingsuren: {opening_hours_table()}_<br/>2 options |  | *[opening_hours](https://wiki.osm.org/wiki/Key:opening_hours)* ([opening_hours](../SpecialInputElements.md#opening_hours)) |
| [questions](#questions) <br/> _(Original in [questions](./BuiltinQuestions.md#questions))_ | _{questions()}_ |  | _Multiple choice only_ |
| [sport-pitch-reviews](#sport-pitch-reviews)  | _{reviews(name, sportpitch)}_ |  | _Multiple choice only_ |
| [create_copy](#create_copy)  | _{create_copy()}_ |  | _Multiple choice only_ |
| [move-button](#move-button)  | _{move_button()}_ |  | _Multiple choice only_ |
| [spacer](#spacer)  | _<div class='m-4'/>_ |  | _Multiple choice only_ |
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |

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

### sport_pitch-sport
The question is `Which sport can be played here?`

*{sport} is played here* is shown if `sport` is set.

 -  *Basketball is played here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dbasketball' target='_blank'>basketball</a>
 -  *Soccer is played here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dsoccer' target='_blank'>soccer</a>
 -  *This is a pingpong table* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dtable_tennis' target='_blank'>table_tennis</a>
 -  *Tennis is played here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dtennis' target='_blank'>tennis</a>
 -  *Korfball is played here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dkorfball' target='_blank'>korfball</a>
 -  *Basketball is played here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dbasket' target='_blank'>basket</a>. _This option cannot be chosen as answer_
 -  *This is a skatepark* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dskateboard' target='_blank'>skateboard</a>
 -  *This is a horse riding arena* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:sport' target='_blank'>sport</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:sport%3Dequestrian' target='_blank'>equestrian</a>

### basketball-hoops
The question is `How much basketball hoops does this pitch have?`

 -  *This basketball pitch has a single hoop* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:hoops' target='_blank'>hoops</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:hoops%3D1' target='_blank'>1</a>
 -  *This basketball pitch has two hoops* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:hoops' target='_blank'>hoops</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:hoops%3D2' target='_blank'>2</a>
 -  *This basketball pitch has four hoops* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:hoops' target='_blank'>hoops</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:hoops%3D4' target='_blank'>4</a>
 -  *This basketball pitch has {hoops} hoops* is shown if 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?`

*The surface is <b>{surface}</b>* is shown if `surface` is set.

 -  *The surface is <b>grass</b>* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:surface' target='_blank'>surface</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface%3Dgrass' target='_blank'>grass</a>
 -  *The surface is <b>sand</b>* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:surface' target='_blank'>surface</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface%3Dsand' target='_blank'>sand</a>
 -  *The surface is <b>paving stones</b>* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:surface' target='_blank'>surface</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface%3Dpaving_stones' target='_blank'>paving_stones</a>
 -  *The surface is <b>asphalt</b>* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:surface' target='_blank'>surface</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface%3Dasphalt' target='_blank'>asphalt</a>
 -  *The surface is <b>concrete</b>* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:surface' target='_blank'>surface</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface%3Dconcrete' target='_blank'>concrete</a>
 -  *The surface is <b>fine gravel</b>* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:surface' target='_blank'>surface</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface%3Dfine_gravel' target='_blank'>fine_gravel</a>
 -  *The surface of this track is Tartan, a synthetic, slightly springy, porous surface* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:surface' target='_blank'>surface</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:surface%3Dtartan' target='_blank'>tartan</a>

### sport-pitch-access
The question is `Is this sport pitch publicly accessible?`

 -  *Public access* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:access' target='_blank'>access</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:access%3Dyes' target='_blank'>yes</a>
 -  *Limited access (e.g. only with an appointment, during certain hours, …)* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:access' target='_blank'>access</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:access%3Dlimited' target='_blank'>limited</a>
 -  *Only accessible for members of the club* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:access' target='_blank'>access</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:access%3Dmembers' target='_blank'>members</a>
 -  *Private - not accessible to the public* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:access' target='_blank'>access</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:access%3Dprivate' target='_blank'>private</a>
 -  *Public access* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:access' target='_blank'>access</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:access%3Dpublic' target='_blank'>public</a>. _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* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:reservation' target='_blank'>reservation</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drequired' target='_blank'>required</a>
 -  *Making an appointment is recommended when using this sport pitch* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:reservation' target='_blank'>reservation</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drecommended' target='_blank'>recommended</a>
 -  *Making an appointment is possible, but not necessary to use this sport pitch* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:reservation' target='_blank'>reservation</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dyes' target='_blank'>yes</a>
 -  *Making an appointment is not possible* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:reservation' target='_blank'>reservation</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dno' target='_blank'>no</a>

### sport_pitch-phone
The question is `What is the phone number of the operator?`

*<a href='tel:{phone}'>{phone}</a>* is shown if `phone` is set.

### sport_pitch-email
The question is `What is the email address of the operator?`

*<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>* is shown if `email` is set.

### sport_pitch-opening_hours
The question is `When is this pitch accessible?`

*Openingsuren: {opening_hours_table()}* is shown if `opening_hours` is set.

 -  *Always accessible* is shown if with opening_hours=. _This option cannot be chosen as answer_
 -  *Always accessible* 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%3D24/7' target='_blank'>24/7</a>

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_

*{questions()}*

### sport-pitch-reviews
_This tagrendering has no question and is thus read-only_

*{reviews(name, sportpitch)}*

### create_copy
_This tagrendering has no question and is thus read-only_

*{create_copy()}*

### move-button
_This tagrendering has no question and is thus read-only_

*{move_button()}*

### spacer
_This tagrendering has no question and is thus read-only_

*<div class='m-4'/>*

### 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 |
-----|-----|----- |
| accessibility.0 | Publicly accessible | access=yes | access=public | access= |

| id | question | osmTags |
-----|-----|----- |
| open_now.0 | Now open | _isOpen=yes |

| id | question | osmTags |
-----|-----|----- |
| sport_pitch-sport.0 | *Which sport can be played here?* (default) |  |
| sport_pitch-sport.1 | Basketball is played here | sport=basketball |
| sport_pitch-sport.2 | Soccer is played here | sport=soccer |
| sport_pitch-sport.3 | This is a pingpong table | sport=table_tennis |
| sport_pitch-sport.4 | Tennis is played here | sport=tennis |
| sport_pitch-sport.5 | Korfball is played here | sport=korfball |
| sport_pitch-sport.6 | Basketball is played here | sport=basket |
| sport_pitch-sport.7 | This is a skatepark | sport=skateboard |
| sport_pitch-sport.8 | This is a horse riding arena | sport=equestrian |



This document is autogenerated from [assets/layers/sport_pitch/sport_pitch.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/sport_pitch/sport_pitch.json)
