MapComplete/Docs/Themes/scouting.md

11 KiB

Scouting groups ( scouting )

This document details some technical information about this MapComplete theme, mostly about the attributes used in the theme. Various links point toward more information about the attributes, e.g. to the OpenStreetMap-wiki, to TagInfo or tools creating statistics The theme introduction reads:

A scouting group is a social youth movement with a heavy emphasis on the outdoors. Activities range from camping, hiking, aquatics, backpacking, exploring nature, ...

This theme contains the following layers:

Available languages:

  • en
  • de
  • uk

Table of contents

  1. Layers defined in this theme configuration file
  2. group_campsite

Layers defined in this theme configuration file

These layers can not be reused in different themes.

group_campsite

This layer is based on campsite

Campsites

  • This layer is shown at zoomlevel 7 and higher

No themes use this layer

Basic tags for this layer

Elements must match all of the following expressions:

  1. tourism=camp_site
  2. group_only=yes | scout=yes

Execute on overpass

Supported attributes

Warning:,this quick overview is incomplete,

attribute type values which are supported by this layer
group_only Multiple choice yes no
name string
charge currency
capacity:persons pnat
phone phone
email email
website url
contact:mastodon fediverse

group_only

The question is Is this campsite exclusively for groups?

  • This campsite is exclusively for groups is shown if with group_only=yes
  • This campsite is not exclusively for groups is shown if with group_only=no

name

The question is What is the name of this campsite? The name of this campsite is {name} is shown if name is set

fee

The question is Is a fee charged here? A fee of {charge} should be paid for here is shown if charge is set

  • The campsite is free of charge is shown if with fee=no
  • A fee is charged here. is shown if with fee=yes & charge=

capacity_persons

The question is How many people can stay here? {capacity:persons} people can stay here is shown if capacity:persons is set

phone

The question is What is the phone number of {title()}? {link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)} is shown if phone is set

  • {link(&LBRACEcontact:phone&RBRACE,tel:&LBRACEcontact:phone&RBRACE,,,,)} is shown if with contact:phone~.+. This option cannot be chosen as answer

This tagrendering has labels contact

email

The question is What is the email address of {title()}? {email} is shown if email is set

  • {contact:email} is shown if with contact:email~.+. This option cannot be chosen as answer
  • {operator:email} is shown if with operator:email~.+. This option cannot be chosen as answer

This tagrendering has labels contact

website

The question is What is the website of {title()}? {website} is shown if website is set

  • {contact:website} is shown if with contact:website~.+. This option cannot be chosen as answer

This tagrendering has labels contact

questions

Show the questions block at this location This tagrendering has no question and is thus read-only {questions()}

mastodon

Shows and asks for the mastodon handle The question is What is the Mastodon-handle of {title()}? {fediverse_link(contact:mastodon)} is shown if contact:mastodon is set

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()}

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
capacity_persons_filter.0 All capacities (default)
capacity_persons_filter.1 Capacity between 1 and 20 persons capacity:persons>=1 & capacity:persons<=20
capacity_persons_filter.2 Capacity between 21 and 50 persons capacity:persons>=21 & capacity:persons<=50
capacity_persons_filter.3 Capacity between 51 and 100 persons capacity:persons>=51 & capacity:persons<=100
capacity_persons_filter.4 Capacity between 101 and 200 persons capacity:persons>=101 & capacity:persons<=200
capacity_persons_filter.5 Capacity between 201 and 500 persons capacity:persons>=201 & capacity:persons<=500
capacity_persons_filter.6 Capacity over 500 persons capacity:persons>=501
capacity_persons_filter.7 ? capacity:persons=

This document is autogenerated from assets/themes/scouting/scouting.json