mapcomplete/Docs/Layers/tool_library.md

12 KiB

tool_library

A tool library is a place where people from the general public can borrow tools

  • This layer is shown at zoomlevel 3 and higher

Table of contents

  1. Themes using this layer
  2. Basic tags for this layer
  3. Supported attributes

Themes using this layer

Basic tags for this layer

Elements must match the expression amenity=tool_library

Execute on overpass

Supported attributes

Warning:,this quick overview is incomplete,

attribute type values which are supported by this layer
phone phone
email email
website url
contact:facebook url
opening_hours opening_hours ["by appointment"](https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D"by appointment")
membership Multiple choice no required optional
charge:membership currency
fee Multiple choice no no yes donation

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

phone

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

  • {contact:phone} 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

facebook

Shows and asks for the facebook handle The question is What is the facebook page of of {title()}? {link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}

Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives
is shown if contact:facebook is set

opening_hours_by_appointment

The question is What are the opening hours of {title()}?

Opening hours

{opening_hours_table(opening_hours)} is shown if opening_hours is set

  • Only by appointment is shown if with opening_hours="by appointment"
  • Only by appointment is shown if with opening_hours~^("by appointment"|by appointment)$. This option cannot be chosen as answer
  • Marked as closed for an unspecified time is shown if with opening_hours=closed. This option cannot be chosen as answer

membership

The question is Is a membership required to borrow tools here?

  • No membership is required to borrow tools here is shown if with membership=no
  • A membership is required to use this tool library is shown if with membership=required
  • A membership is possible but not required to use this tool library is shown if with membership=optional

membership_charge

The question is How much does a membership cost? A membership costs {charge:membership} is shown if charge:membership is set

This tagrendering is only visible in the popup if the following condition is met: membership=required

fee

The question is Is a fee asked to borrow tools?

  • Borrowing tools is free (if one has a membership) is shown if with fee=no & membership=required
  • Borrowing tools is free is shown if with fee=no
  • A fee is asked when borrowing tools is shown if with fee=yes
  • A donation can be given when borrowing tools is shown if with fee=donation

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

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