MapComplete/Docs/Themes/scouting.md

57 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
  • cs

Table of contents

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

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 any of the following expressions:

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
phone phone
email email
website url
charge currency
capacity:persons pnat
toilets Multiple choice yes no
toilets:wheelchair Multiple choice yes no designated
contact:mastodon fediverse

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

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

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

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

caravansites-toilets

The question is Does this place have toilets?

  • This place has toilets is shown if with toilets=yes
  • This place does not have toilets is shown if with toilets=no

toilets-wheelchair

The question is Is there a dedicated toilet for wheelchair users?

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

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
fee_filter.0 Fee (default)
fee_filter.1 free of charge fee=no
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=
id question osmTags
toilets_filter.0 Toilets (default)
toilets_filter.1 Toilets are available. toilets=yes
toilets_filter.2 There are no toilets. toilets=no

group_hostel

This layer is based on tourism_accomodation

Various types of lodging facilities

  • This layer is shown at zoomlevel 7 and higher

No themes use this layer

Presets

The following options to create new points are included:

Basic tags for this layer

Elements must match all of the following expressions:

  1. tourism=hostel
  2. group=yes | group_only=yes | scout=yes | scout=only
  3. group!=no
  4. scout!=no

Execute on overpass

Supported attributes

Warning:,this quick overview is incomplete,

attribute type values which are supported by this layer
name string
group_only Multiple choice yes no
brand string
phone phone
email email
website url
wheelchair Multiple choice designated yes limited no
toilets:wheelchair Multiple choice yes no designated
internet_access Multiple choice wlan no terminal wired terminal;wifi
internet_access:fee Multiple choice yes no customers
internet_access:ssid string Telekom
dog Multiple choice yes no leashed unleashed outside

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

reviews

Shows the reviews module (including the possibility to leave a review) This tagrendering has no question and is thus read-only {create_review()}{list_reviews()}

name

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

presettypeselect

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

group_only

The question is Is this hostel exclusively for groups?

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

This tagrendering is only visible in the popup if the following condition is met: tourism=hostel

brand

The question is Is {title()} part of a bigger brand? Part of {brand} is shown if brand is set

  • Not part of a bigger brand is shown if with nobrand=yes

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

wheelchair-access

The question is Is this place accessible with a wheelchair?

  • This place is specially adapted for wheelchair users is shown if with wheelchair=designated
  • This place is easily reachable with a wheelchair is shown if with wheelchair=yes
  • It is possible to reach this place in a wheelchair, but it is not easy is shown if with wheelchair=limited
  • This place is not reachable with a wheelchair is shown if with wheelchair=no

toilets-wheelchair

The question is Is there a dedicated toilet for wheelchair users?

internet

The question is Does this place offer internet access?

This tagrendering has labels internet-all

internet-fee

The question is Is there a fee for internet access?

This tagrendering is only visible in the popup if the following condition is met: internet_access!=no & internet_access~.+ This tagrendering has labels internet-all

internet-ssid

The question is What is the network name for the wireless internet access? The network name is {internet_access:ssid} is shown if internet_access:ssid is set

This tagrendering is only visible in the popup if the following condition is met: internet_access~^(.wlan.)$ This tagrendering has labels internet-all

dog-access

The question is Are dogs allowed in this business?

  • Dogs are allowed is shown if with dog=yes
  • Dogs are not allowed is shown if with dog=no
  • Dogs are allowed, but they have to be leashed is shown if with dog=leashed
  • Dogs are allowed and can run around freely is shown if with dog=unleashed
  • Dogs are allowed only outside is shown if with dog=outside

leftover-questions

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

move-button

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

delete-button

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

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
has_internet.0 Offers internet internet_access=wlan
id question osmTags
dogs.0 No preference towards dogs (default)
dogs.1 Dogs allowed dog=unleashed
dogs.2 No dogs allowed dog=no

hostel

This layer is based on tourism_accomodation

Various types of lodging facilities

  • This layer is shown at zoomlevel 16 and higher
  • Not visible in the layer selection by default. If you want to make this layer toggable, override name

No themes use this layer

Presets

The following options to create new points are included:

Basic tags for this layer

Elements must match the expression tourism=hostel

Execute on overpass

Supported attributes

Warning:,this quick overview is incomplete,

attribute type values which are supported by this layer
name string
group_only Multiple choice yes no
brand string
phone phone
email email
website url
wheelchair Multiple choice designated yes limited no
toilets:wheelchair Multiple choice yes no designated
internet_access Multiple choice wlan no terminal wired terminal;wifi
internet_access:fee Multiple choice yes no customers
internet_access:ssid string Telekom
dog Multiple choice yes no leashed unleashed outside

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

reviews

Shows the reviews module (including the possibility to leave a review) This tagrendering has no question and is thus read-only {create_review()}{list_reviews()}

name

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

presettypeselect

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

group_only

The question is Is this hostel exclusively for groups?

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

This tagrendering is only visible in the popup if the following condition is met: tourism=hostel

brand

The question is Is {title()} part of a bigger brand? Part of {brand} is shown if brand is set

  • Not part of a bigger brand is shown if with nobrand=yes

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

wheelchair-access

The question is Is this place accessible with a wheelchair?

  • This place is specially adapted for wheelchair users is shown if with wheelchair=designated
  • This place is easily reachable with a wheelchair is shown if with wheelchair=yes
  • It is possible to reach this place in a wheelchair, but it is not easy is shown if with wheelchair=limited
  • This place is not reachable with a wheelchair is shown if with wheelchair=no

toilets-wheelchair

The question is Is there a dedicated toilet for wheelchair users?

internet

The question is Does this place offer internet access?

This tagrendering has labels internet-all

internet-fee

The question is Is there a fee for internet access?

This tagrendering is only visible in the popup if the following condition is met: internet_access!=no & internet_access~.+ This tagrendering has labels internet-all

internet-ssid

The question is What is the network name for the wireless internet access? The network name is {internet_access:ssid} is shown if internet_access:ssid is set

This tagrendering is only visible in the popup if the following condition is met: internet_access~^(.wlan.)$ This tagrendering has labels internet-all

dog-access

The question is Are dogs allowed in this business?

  • Dogs are allowed is shown if with dog=yes
  • Dogs are not allowed is shown if with dog=no
  • Dogs are allowed, but they have to be leashed is shown if with dog=leashed
  • Dogs are allowed and can run around freely is shown if with dog=unleashed
  • Dogs are allowed only outside is shown if with dog=outside

leftover-questions

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

move-button

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

delete-button

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

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
type.0 All types (default)
type.1 Hotels tourism=hotel
type.2 Hostels tourism=hostel
type.3 Guest houses and Bed&Breakfasts tourism=guest_house
type.4 Motels tourism=motel
type.5 Vacation home tourism=chalet
type.6 Vacation apartment tourism=apartment
id question osmTags
has_internet.0 Offers internet internet_access=wlan
id question osmTags
dogs.0 No preference towards dogs (default)
dogs.1 Dogs allowed dog=unleashed
dogs.2 No dogs allowed dog=no

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