mapcomplete/Docs/Layers/sport_pitch.md

16 KiB

sport_pitch

A sport pitch

  • This layer is shown at zoomlevel 12 and higher

Themes using this layer

Basic tags for this layer

Elements must match the expression leisure=pitch

Execute on overpass

Supported attributes

Warning:

this quick overview is incomplete

attribute type values which are supported by this layer
id Multiple choice
sport string basketball soccer table_tennis tennis korfball skateboard
hoops Multiple choice 1 2 4
surface string grass sand paving_stones asphalt concrete fine_gravel tartan
access Multiple choice yes limited members private
reservation Multiple choice required recommended yes no
phone phone
email email
opening_hours opening_hours 24/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

This is rendered with {sport} is played here

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

This is rendered with The surface is <b>{surface}</b>

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

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

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

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

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