MapComplete/Docs/Layers/hut.md

23 KiB

hut

Layer showing basic huts, wilderness huts and alpine huts

  • This layer is shown at zoomlevel 10 and higher
  • This layer will automatically load toilet into the layout as it depends on it: tagrendering has_toilets needs this layer (has_toilets)

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 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
name string
website url
phone phone
email email
website url
reservation Multiple choice reservation=required reservation=recommended reservation=yes reservation=no
fee Multiple choice fee=yes fee=no
drinking_water Multiple choice drinking_water=yes drinking_water=no
toilets Multiple choice toilets=yes toilets=no toilets=separate
description text
shelter_type string shelter_type=public_transport shelter_type=picnic_shelter shelter_type=gazebo shelter_type=weather_shelter shelter_type=lean_to shelter_type=pavilion shelter_type=basic_hut

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
name
(Original in questions)
What is the name of this place?
{name}
name (string)
website-single
(Original in questions)
What is the website of ?
{website}
1 options
contact website (url)
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)
reservation
(Original in questions)
Is a reservation required for this place?
4 options
Multiple choice only
caravansites-fee
(Original in caravansites)
Does this place charge a fee?
2 options
Multiple choice only
drinking_water Is drinking water available here?
2 options
Multiple choice only
has_toilets
(Original in questions)
Has toilets?
3 options
Multiple choice only
description
(Original in questions)
Is there still some relevant info that the previous questions did not cover? Feel free to add it here.
{description}
description (text)
preset_type {preset_type_select()} Multiple choice only
shelter-type
(Original in shelter)
What kind of shelter is this?
Shelter type: {shelter_type}
7 options
shelter_type (string)
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
move-button {move_button()} Multiple choice only
spacer
Multiple choice only
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()}

name

The question is What is the name of this place?

{name} is shown if name is set.

website-single

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 is only visible in the popup if the following condition is met: tourism=wilderness_hut This tagrendering has labels contact

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 is only visible in the popup if the following condition is met: tourism=alpine_hut 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 is only visible in the popup if the following condition is met: tourism=alpine_hut 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 is only visible in the popup if the following condition is met: tourism=alpine_hut This tagrendering has labels contact

reservation

The question is Is a reservation required for this place?

  • A reservation is required at this place is shown if with reservation=required
  • A reservation is not required, but still recommended to make sure you get a table is shown if with reservation=recommended
  • Reservation is possible at this place is shown if with reservation=yes
  • Reservation is not possible at this place is shown if with reservation=no

caravansites-fee

The question is Does this place charge a fee?

  • You need to pay for use is shown if with fee=yes
  • Can be used for free is shown if with fee=no

drinking_water

The question is Is drinking water available here?

has_toilets

The question is Has {title()} toilets?

description

The question is Is there still some relevant info that the previous questions did not cover? Feel free to add it here.

{description} is shown if description is set.

preset_type

This tagrendering has no question and is thus read-only

{preset_type_select()}

shelter-type

The question is What kind of shelter is this?

Shelter type: {shelter_type} is shown if shelter_type is set.

This tagrendering is only visible in the popup if the following condition is met: amenity=shelter

leftover-questions

This tagrendering has no question and is thus read-only

{questions( ,hidden)}

This tagrendering has labels ignore-docs added_by_default

move-button

This tagrendering has no question and is thus read-only

{move_button()}

spacer

This tagrendering has no question and is thus read-only

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
free.0 Free to use fee=no

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