mapcomplete/Docs/Layers/sport_pitch.md

335 lines
15 KiB
Markdown

[//]: # (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. [Basic tags for this layer](#-basic-tags-for-this-layer-)
3. [Supported attributes](#-supported-attributes-)
* [just\_created](#just_created)
* [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)
* [lod](#lod)
* [minimap](#minimap)
* [last\_edit](#last_edit)
* [favourite\_status](#favourite_status)
* [qr\_code](#qr_code)
* [share](#share)
* [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](https://wiki.openstreetmap.org/wiki/Key:leisure)\=[pitch](https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dpitch)**
[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
[![](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/sport#values) [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)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/hoops#values) [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)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/surface#values) [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)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/access#values) [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)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/reservation#values) [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)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/phone#values) [phone](https://wiki.openstreetmap.org/wiki/Key:phone)
[phone](../SpecialInputElements.md#phone)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/email#values) [email](https://wiki.openstreetmap.org/wiki/Key:email)
[email](../SpecialInputElements.md#email)
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/opening_hours#values) [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)
### 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`
### 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](https://wiki.openstreetmap.org/wiki/Key:sport)\=[basketball](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dbasketball)
* _Soccer is played here_ corresponds with [sport](https://wiki.openstreetmap.org/wiki/Key:sport)\=[soccer](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dsoccer)
* _This is a pingpong table_ corresponds with [sport](https://wiki.openstreetmap.org/wiki/Key:sport)\=[table\_tennis](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dtable_tennis)
* _Tennis is played here_ corresponds with [sport](https://wiki.openstreetmap.org/wiki/Key:sport)\=[tennis](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dtennis)
* _Korfball is played here_ corresponds with [sport](https://wiki.openstreetmap.org/wiki/Key:sport)\=[korfball](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dkorfball)
* _Basketball is played here_ corresponds with [sport](https://wiki.openstreetmap.org/wiki/Key:sport)\=[basket](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dbasket)
* _This option cannot be chosen as answer_
* _This is a skatepark_ corresponds with [sport](https://wiki.openstreetmap.org/wiki/Key:sport)\=[skateboard](https://wiki.openstreetmap.org/wiki/Tag:sport%3Dskateboard)
### basketball-hoops
The question is _How much basketball hoops does this pitch have?_
* _This basketball pitch has a single hoop_ corresponds with [hoops](https://wiki.openstreetmap.org/wiki/Key:hoops)\=[1](https://wiki.openstreetmap.org/wiki/Tag:hoops%3D1)
* _This basketball pitch has two hoops_ corresponds with [hoops](https://wiki.openstreetmap.org/wiki/Key:hoops)\=[2](https://wiki.openstreetmap.org/wiki/Tag:hoops%3D2)
* _This basketball pitch has four hoops_ corresponds with [hoops](https://wiki.openstreetmap.org/wiki/Key:hoops)\=[4](https://wiki.openstreetmap.org/wiki/Tag:hoops%3D4)
* _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 <b>{surface}</b>`
* _The surface is **grass**_ corresponds with [surface](https://wiki.openstreetmap.org/wiki/Key:surface)\=[grass](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dgrass)
* _The surface is **sand**_ corresponds with [surface](https://wiki.openstreetmap.org/wiki/Key:surface)\=[sand](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dsand)
* _The surface is **paving stones**_ corresponds with [surface](https://wiki.openstreetmap.org/wiki/Key:surface)\=[paving\_stones](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dpaving_stones)
* _The surface is **asphalt**_ corresponds with [surface](https://wiki.openstreetmap.org/wiki/Key:surface)\=[asphalt](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dasphalt)
* _The surface is **concrete**_ corresponds with [surface](https://wiki.openstreetmap.org/wiki/Key:surface)\=[concrete](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dconcrete)
* _The surface is **fine gravel**_ corresponds with [surface](https://wiki.openstreetmap.org/wiki/Key:surface)\=[fine\_gravel](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dfine_gravel)
* _The surface of this track is Tartan, a synthetic, slightly springy, porous surface_ corresponds with [surface](https://wiki.openstreetmap.org/wiki/Key:surface)\=[tartan](https://wiki.openstreetmap.org/wiki/Tag:surface%3Dtartan)
### sport-pitch-access
The question is _Is this sport pitch publicly accessible?_
* _Public access_ corresponds with [access](https://wiki.openstreetmap.org/wiki/Key:access)\=[yes](https://wiki.openstreetmap.org/wiki/Tag:access%3Dyes)
* _Limited access (e.g. only with an appointment, during certain hours, …)_ corresponds with [access](https://wiki.openstreetmap.org/wiki/Key:access)\=[limited](https://wiki.openstreetmap.org/wiki/Tag:access%3Dlimited)
* _Only accessible for members of the club_ corresponds with [access](https://wiki.openstreetmap.org/wiki/Key:access)\=[members](https://wiki.openstreetmap.org/wiki/Tag:access%3Dmembers)
* _Private - not accessible to the public_ corresponds with [access](https://wiki.openstreetmap.org/wiki/Key:access)\=[private](https://wiki.openstreetmap.org/wiki/Tag:access%3Dprivate)
* _Public access_ corresponds with [access](https://wiki.openstreetmap.org/wiki/Key:access)\=[public](https://wiki.openstreetmap.org/wiki/Tag:access%3Dpublic)
* _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](https://wiki.openstreetmap.org/wiki/Key:reservation)\=[required](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drequired)
* _Making an appointment is recommended when using this sport pitch_ corresponds with [reservation](https://wiki.openstreetmap.org/wiki/Key:reservation)\=[recommended](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Drecommended)
* _Making an appointment is possible, but not necessary to use this sport pitch_ corresponds with [reservation](https://wiki.openstreetmap.org/wiki/Key:reservation)\=[yes](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dyes)
* _Making an appointment is not possible_ corresponds with [reservation](https://wiki.openstreetmap.org/wiki/Key:reservation)\=[no](https://wiki.openstreetmap.org/wiki/Tag:reservation%3Dno)
### 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 `<a href='tel:{phone}'>{phone}</a>`
### 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 `<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>`
### 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](https://wiki.openstreetmap.org/wiki/Key:opening_hours)\=[24/7](https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D24/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
### 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
### 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
#### 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)