MapComplete/Docs/Layers/campsite.md

18 KiB

campsite

Campsites

  • This layer is shown at zoomlevel 7 and higher

Table of contents

  1. Themes using this layer
  2. Presets
  3. Basic tags for this layer
  4. Supported attributes
  5. Featureview elements and TagRenderings
  1. Filters

Themes using this layer

Presets

The following options to create new points are included:

Basic tags for this layer

Elements must match the expression tourism=camp_site

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

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
group_only Is this campsite exclusively for groups?
2 options
Multiple choice only
name What is the name of this campsite?
The name of this campsite is {name}
name (string)
phone
(Original in questions)
What is the phone number of ?
{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}
1 options
contact phone (phone)
email
(Original in questions)
What is the email address of ?
{email}
2 options
contact email (email)
website
(Original in questions)
What is the website of ?
{website}
1 options
contact website (url)
capacity_persons How many people can stay here?
{capacity:persons} people can stay here
capacity:persons (pnat)
fee Is there a fee?
2 options
Multiple choice only
charge_person_day What is the charge per person per day?
Charge per person per day: {charge}
charge (currency)
charge_day What is the charge per day?
Charge per day: {charge}
charge (currency)
caravansites-toilets
(Original in caravansites)
Does this place have toilets?
2 options
Multiple choice only
toilets-wheelchair
(Original in toilet_at_amenity)
Is there a dedicated toilet for wheelchair users?
3 options
wheelchair, hidden Multiple choice only
questions
(Original in questions)
{questions()} Multiple choice only
mastodon
(Original in questions)
What is the Mastodon-handle of ?
{fediverse_link(contact:mastodon)}
contact:mastodon (fediverse)
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

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

capacity_persons

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

fee

The question is Is there a fee?

  • The campsite is free of charge is shown if with fee=no
  • There is a fee. is shown if with fee=yes

charge_person_day

The question is What is the charge per person per day? Charge per person per day: {charge} is shown if charge is set

charge_day

The question is What is the charge per day? Charge per day: {charge} is shown if charge 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?

This tagrendering has labels wheelchair hidden

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

This document is autogenerated from assets/layers/campsite/campsite.json