15 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
- Themes using this layer
- Presets
- Basic tags for this layer
- Supported attributes
- Featureview elements and TagRenderings
- Opening hours
- images
- phone
- website
- opening_hours_by_appointment
- Opening hours
- membership
- membership_charge
- fee
- leftover-questions
- move-button
- delete-button
- lod
Themes using this layer
Presets
The following options to create new points are included:
- a tool library which has the following tags:amenity=tool_library
Basic tags for this layer
Elements must match the expression amenity=tool_library
Supported attributes
Warning:: this quick overview is incomplete
attribute | type | values which are supported by this layer |
---|---|---|
phone | ||
url | ||
url | ||
opening_hours | ["by appointment"](https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D"by appointment") | |
Multiple choice | no required optional | |
currency | ||
Multiple choice | no no yes donation |
Featureview elements and TagRenderings
id | question | labels | freeform key |
---|---|---|---|
images (Original in questions) |
{image_carousel()}{image_upload()} | Multiple choice only | |
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) |
facebook (Original in questions) |
What is the facebook page of of ? {link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)} Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives |
contact:facebook (url) | |
opening_hours_by_appointment (Original in questions) |
What are the opening hours of ?Opening hours{opening_hours_table(opening_hours)}3 options |
opening_hours (opening_hours) | |
membership | Is a membership required to borrow tools here? 3 options |
Multiple choice only | |
membership_charge | How much does a membership cost? A membership costs {charge:membership} |
charge:membership (currency) | |
fee | Is a fee asked to borrow tools? 4 options |
Multiple choice only | |
leftover-questions | {questions( ,hidden)} | Multiple choice only | |
move-button | {move_button()} | Multiple choice only | |
delete-button | {delete_button()} | 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()}
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
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
Shows and asks for the facebook handle
The question is What is the facebook page of of {title()}?
{link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}
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 ifopening_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( ,hidden)}
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 |
---|---|---|
open_now.0 | Now open | _isOpen=yes |
This document is autogenerated from assets/layers/tool_library/tool_library.json