mapcomplete/Docs/Layers/sport_pitch.md

10 KiB

sport_pitch

A sport pitch

  • This layer is shown at zoomlevel 12 and higher

Themes using this layer

This is a special layer - data is not sourced from OpenStreetMap

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
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: _backend~.+&_last_edit:passed_time<300&|_version_number=1

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 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
  • This is a skatepark corresponds with sport=skateboard

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>

  • The surface is grass corresponds with surface=grass
  • The surface is sand corresponds with surface=sand
  • The surface is paving stones corresponds with surface=paving_stones
  • The surface is asphalt corresponds with surface=asphalt
  • The surface is concrete corresponds with surface=concrete

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 ``
  • 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:contributor~.+&_last_edit:changeset~.+

all-tags

This tagrendering has no question and is thus read-only

Filters

id question osmTags
accessibility.0 Publicly accessible access=yes|access=public\
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