mapcomplete/Docs/Layers/sport_pitch.md

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

341 lines
10 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
sport_pitch
2022-01-14 19:36:36 +01:00
=============
<img src='https://mapcomplete.org/circle:white;./assets/layers/sport_pitch/sport_pitch.svg' height="100px">
2022-01-14 19:36:36 +01:00
A sport pitch
2022-02-14 04:59:49 +01:00
2022-04-06 16:12:01 +02:00
- This layer is shown at zoomlevel **12** and higher
2022-02-14 04:59:49 +01:00
#### Themes using this layer
- [personal](https://mapcomplete.org/personal)
- [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
2023-05-08 00:20:32 +02:00
This is a special layer - data is not sourced from OpenStreetMap
2022-03-24 19:59:57 +01:00
2022-02-14 04:59:49 +01:00
Supported attributes
2022-01-14 19:36:36 +01:00
----------------------
Warning:
this quick overview is incomplete
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2022-01-14 19:36:36 +01: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)
[<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
2023-05-08 00:20:32 +02:00
### 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: `_backend~.+&_last_edit:passed_time<300&|_version_number=1`
2022-02-14 04:59:49 +01:00
### images
2022-01-14 19:36:36 +01:00
2023-07-20 13:28:38 +02:00
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
### sport_pitch-sport
2022-01-14 19:36:36 +01:00
2022-12-08 00:48:44 +01:00
The question is *Which sport can be played here?*
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
This rendering asks information about the property [sport](https://wiki.openstreetmap.org/wiki/Key:sport)
2022-12-08 00:48:44 +01:00
This is rendered with `{sport} is played here`
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2022-12-08 00:48:44 +01:00
- *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
2023-06-11 23:12:03 +02:00
- *This is a skatepark* corresponds with `sport=skateboard`
2022-02-14 04:59:49 +01:00
2023-07-15 19:00:23 +02:00
### 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
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
2022-02-14 04:59:49 +01:00
### sport_pitch-surface
2022-01-14 19:36:36 +01:00
2022-12-08 00:48:44 +01:00
The question is *Which is the surface of this sport pitch?*
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
This rendering asks information about the property [surface](https://wiki.openstreetmap.org/wiki/Key:surface)
2022-01-14 19:36:36 +01:00
2022-12-08 00:48:44 +01:00
This is rendered with `The surface is <b>{surface}</b>`
2022-02-14 04:59:49 +01:00
2022-12-08 00:48:44 +01:00
- *The surface is <b>grass</b>* corresponds with `surface=grass`
- *The surface is <b>sand</b>* corresponds with `surface=sand`
- *The surface is <b>paving stones</b>* corresponds with `surface=paving_stones`
- *The surface is <b>asphalt</b>* corresponds with `surface=asphalt`
- *The surface is <b>concrete</b>* corresponds with `surface=concrete`
2022-02-14 04:59:49 +01:00
### sport-pitch-access
2022-01-14 19:36:36 +01:00
2022-12-08 00:48:44 +01:00
The question is *Is this sport pitch publicly accessible?*
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2022-12-08 00:48:44 +01:00
- *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`
2022-08-24 14:47:36 +02:00
- This option cannot be chosen as answer
2022-02-14 04:59:49 +01:00
### sport-pitch-reservation
2022-01-14 19:36:36 +01:00
2022-12-08 00:48:44 +01:00
The question is *Does one have to make an appointment to use this sport pitch?*
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2022-12-08 00:48:44 +01:00
- *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`
2022-02-14 04:59:49 +01:00
### sport_pitch-phone
2022-01-14 19:36:36 +01:00
2022-12-08 00:48:44 +01:00
The question is *What is the phone number of the operator?*
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
This rendering asks information about the property [phone](https://wiki.openstreetmap.org/wiki/Key:phone)
2022-12-08 00:48:44 +01:00
This is rendered with `<a href='tel:{phone}'>{phone}</a>`
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
### sport_pitch-email
2022-01-14 19:36:36 +01:00
2022-12-08 00:48:44 +01:00
The question is *What is the email address of the operator?*
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
This rendering asks information about the property [email](https://wiki.openstreetmap.org/wiki/Key:email)
2023-09-21 15:29:34 +02:00
This is rendered with `<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>`
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
### sport_pitch-opening_hours
2022-01-14 19:36:36 +01:00
2022-12-08 00:48:44 +01:00
The question is *When is this pitch accessible?*
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
This rendering asks information about the property [opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours)
2022-12-08 00:48:44 +01:00
This is rendered with `Openingsuren: {opening_hours_table()}`
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2022-12-08 00:48:44 +01:00
- *Always accessible* corresponds with ``
- This option cannot be chosen as answer
2022-12-08 00:48:44 +01:00
- *Always accessible* corresponds with `opening_hours=24/7`
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
2022-02-14 04:59:49 +01: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
2022-02-14 04:59:49 +01: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
2022-12-06 03:41:27 +01:00
2023-04-15 03:02:01 +02:00
### minimap
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
### last_edit
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
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:contributor~.+&_last_edit:changeset~.+`
2023-05-08 00:20:32 +02:00
### all-tags
This tagrendering has no question and is thus read-only
2022-12-06 03:41:27 +01:00
#### Filters
2023-03-08 18:16:05 +01:00
id | question | osmTags
---- | ---------- | ---------
2023-09-21 15:29:34 +02:00
accessibility.0 | Publicly accessible | access=yes\|access=public\|
2023-03-08 18:16:05 +01:00
id | question | osmTags
---- | ---------- | ---------
available_sports.0 | All sports (default) |
available_sports.1 | Basketball fields | sport=basketball
available_sports.2 | Soccer fields | sport=soccer
2023-03-09 15:18:32 +01:00
available_sports.3 | Ping-pong tables | sport=table_tennis
available_sports.4 | Tennis fields | sport=tennis
2023-03-08 18:16:05 +01:00
2022-12-06 03:41:27 +01:00
id | question | osmTags
---- | ---------- | ---------
2023-05-07 23:50:39 +02:00
open_now.0 | Open now | _isOpen=yes
2022-02-14 04:59:49 +01:00
2023-02-12 23:08:57 +01: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)