mapcomplete/Docs/Layers/sport_pitch.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

412 lines
17 KiB
Markdown
Raw Normal View History

2023-02-12 23:08:57 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
sport_pitch
=============
2022-01-14 19:36:36 +01:00
A sport pitch
2024-04-28 03:46:56 +02:00
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
- 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
-------------------------
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
- [personal](https://mapcomplete.org/personal)
- [speelplekken](https://mapcomplete.org/speelplekken)
- [sport_pitches](https://mapcomplete.org/sport_pitches)
- [sports](https://mapcomplete.org/sports)
2022-02-14 04:59:49 +01:00
2022-01-14 19:36:36 +01:00
2024-05-07 00:41:59 +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:leisure' target='_blank'>leisure</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dpitch' target='_blank'>pitch</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%22leisure%22%3D%22pitch%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
2022-03-24 19:59:57 +01:00
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
Supported attributes
----------------------
2022-01-14 19:36:36 +01:00
2024-05-07 00:41:59 +02:00
Warning:
2024-05-07 00:41:59 +02:00
this quick overview is incomplete
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
attribute | type | values which are supported by this layer
----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id) | Multiple choice |
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](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)
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](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)
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](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)
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](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)
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](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)
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/phone#values) [phone](https://wiki.openstreetmap.org/wiki/Key:phone) | [phone](../SpecialInputElements.md#phone) |
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/email#values) [email](https://wiki.openstreetmap.org/wiki/Key:email) | [email](../SpecialInputElements.md#email) |
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](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)
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
### just_created
2023-05-08 00:20:32 +02:00
This element shows a 'thank you' that the contributor has recently created this element
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
- *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
2023-05-08 00:20:32 +02:00
2023-11-13 03:15:48 +01: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~.+`
2023-05-08 00:20:32 +02:00
2024-05-07 00:41:59 +02:00
This tagrendering has labels `added_by_default`
2023-05-08 00:20:32 +02:00
2024-05-07 00:41:59 +02:00
### 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
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
### 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`
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
- *Basketball is played here* corresponds 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* corresponds 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* corresponds 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* corresponds 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* corresponds 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* corresponds 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* corresponds 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>
### basketball-hoops
The question is *How much basketball hoops does this pitch have?*
- *This basketball pitch has a single hoop* corresponds 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* corresponds 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* corresponds 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* corresponds with hoops~.+
- _This option cannot be chosen as answer_
2023-07-15 19:00:23 +02:00
2023-09-24 13:07:12 +02:00
This tagrendering is only visible in the popup if the following condition is met: `sport~^((^|.*;)basketball(;.*|$))$`
2023-07-15 19:00:23 +02:00
2024-05-07 00:41:59 +02:00
### 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 <b>grass</b>* corresponds 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>* corresponds 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>* corresponds 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>* corresponds 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>* corresponds 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>* corresponds 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* corresponds 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?*
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
- *Public access* corresponds 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, …)* corresponds 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* corresponds 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* corresponds 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* corresponds 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_
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
### sport-pitch-reservation
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
The question is *Does one have to make an appointment to use this sport pitch?*
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
- *Making an appointment is obligatory to use this sport pitch* corresponds 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* corresponds 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* corresponds 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* corresponds 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>
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
### 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 <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>
2022-02-14 04:59:49 +01:00
2022-12-06 03:41:27 +01:00
This tagrendering is only visible in the popup if the following condition is met: `access~.+`
2022-04-08 22:17:08 +02:00
2024-05-07 00:41:59 +02:00
### questions
2022-01-14 19:36:36 +01:00
2023-07-20 13:28:38 +02:00
Show the questions block at this location
This tagrendering has no question and is thus read-only
2022-01-14 19:36:36 +01:00
2024-05-07 00:41:59 +02:00
### sport-pitch-reviews
2022-01-14 19:36:36 +01:00
This tagrendering has no question and is thus read-only
2022-01-14 19:36:36 +01:00
2024-05-07 00:41:59 +02:00
### lod
2024-04-13 02:40:21 +02:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
This tagrendering has labels `added_by_default`
### minimap
2023-04-15 03:02:01 +02:00
Shows a small map with the feature. Added by default to every popup
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
### last_edit
2023-04-15 03:02:01 +02:00
Gives some metainfo about the last edit and who did edit it - rendering only
2023-04-15 03:02:01 +02:00
This tagrendering has no question and is thus read-only
2024-05-07 00:41:59 +02:00
2023-11-13 03:15:48 +01:00
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
2023-04-15 03:02:01 +02:00
2024-05-07 00:41:59 +02:00
This tagrendering has labels `added_by_default`
2023-12-19 22:08:00 +01:00
2024-05-07 00:41:59 +02:00
### favourite_status
2023-12-19 22:08:00 +01:00
2024-04-28 03:46:56 +02:00
This tagrendering has no question and is thus read-only
2023-12-19 22:08:00 +01:00
2023-12-30 15:24:30 +01:00
2024-05-07 00:41:59 +02:00
### qr_code
2023-12-30 15:24:30 +01:00
2024-04-28 03:46:56 +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
This tagrendering has labels `added_by_default`
2023-12-30 15:24:30 +01:00
2024-05-07 00:41:59 +02:00
### share
2023-12-30 15:24:30 +01:00
2024-05-07 00:41:59 +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
This tagrendering has labels `added_by_default`
2023-12-30 15:24:30 +01:00
2023-05-08 00:20:32 +02:00
2024-05-07 00:41:59 +02:00
### all-tags
2023-05-08 00:20:32 +02:00
2024-05-07 00:41:59 +02:00
This tagrendering has no question and is thus read-only
2023-05-08 00:20:32 +02:00
2024-05-07 00:41:59 +02:00
#### Filters
2022-12-06 03:41:27 +01:00
2024-05-07 00:41:59 +02:00
id | question | osmTags
---- | ---------- | ---------
accessibility.0 | Publicly accessible | access=yes \| access=public \| access=
2023-03-08 18:16:05 +01:00
2024-05-07 00:41:59 +02:00
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
2023-03-08 18:16:05 +01:00
2024-05-07 00:41:59 +02:00
id | question | osmTags
---- | ---------- | ---------
open_now.0 | Open now | _isOpen=yes
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
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)