MapComplete/Docs/Layers/campsite.md

10 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
  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
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/layers/campsite/campsite.json