mapcomplete/Docs/Layers/sport_pitch.md

16 KiB

sport_pitch

A sport pitch

  • This layer is shown at zoomlevel 12 and higher

Table of contents

  1. Themes using this layer
  2. Basic tags for this layer
  3. Supported attributes
  1. Filters

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
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

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 {image_carousel()}{image_upload()}

sport_pitch-sport

The question is Which sport can be played here? {sport} is played here is shown if sport is set

basketball-hoops

The question is How much basketball hoops does this pitch have?

  • This basketball pitch has a single hoop is shown if with hoops=1
  • This basketball pitch has two hoops is shown if with hoops=2
  • This basketball pitch has four hoops is shown if with hoops=4
  • This basketball pitch has {hoops} hoops is shown if 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? The surface is {surface} is shown if surface is set

sport-pitch-access

The question is Is this sport pitch publicly accessible?

  • Public access is shown if with access=yes
  • Limited access (e.g. only with an appointment, during certain hours, …) is shown if with access=limited
  • Only accessible for members of the club is shown if with access=members
  • Private - not accessible to the public is shown if with access=private
  • Public access is shown if 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 is shown if with reservation=required
  • Making an appointment is recommended when using this sport pitch is shown if with reservation=recommended
  • Making an appointment is possible, but not necessary to use this sport pitch is shown if with reservation=yes
  • Making an appointment is not possible is shown if with reservation=no

sport_pitch-phone

The question is What is the phone number of the operator? {phone} is shown if phone is set

sport_pitch-email

The question is What is the email address of the operator? {email} is shown if email is set

sport_pitch-opening_hours

The question is When is this pitch accessible? Openingsuren: {opening_hours_table()} is shown if opening_hours is set

  • Always accessible is shown if with opening_hours=. This option cannot be chosen as answer
  • Always accessible is shown if 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 {questions()}

sport-pitch-reviews

This tagrendering has no question and is thus read-only {reviews(name, sportpitch)}

lod

This tagrendering has no question and is thus read-only {linked_data_from_website()}

This tagrendering has labels added_by_default

Filters

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