MapComplete/Docs/Layers/assisted_repair.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

197 lines
17 KiB
Markdown
Raw Normal View History

2024-10-15 17:16:39 +02:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# assisted_repair
2024-12-11 02:45:44 +01:00
A self-assisted workshop is a location where people can come and repair their goods with help of volunteers and with the tools available at the given location. A repair café is a type of event organized regularly along the same principles.
2024-10-15 17:16:39 +02:00
- This layer is shown at zoomlevel **1** and higher
## Table of contents
1. [Themes using this layer](#themes-using-this-layer)
2. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
2025-04-10 04:51:26 +02:00
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
2024-10-15 17:16:39 +02:00
- [images](#images)
- [preset_description](#preset_description)
- [name](#name)
- [opening_hours_by_appointment](#opening_hours_by_appointment)
- [phone](#phone)
- [email](#email)
- [website](#website)
- [mastodon](#mastodon)
- [facebook](#facebook)
- [item:repair](#itemrepair)
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [delete-button](#delete-button)
2025-07-10 18:26:31 +02:00
- [spacer](#spacer)
2024-10-15 17:16:39 +02:00
- [lod](#lod)
2025-04-10 04:51:26 +02:00
6. [Filters](#filters)
2024-10-15 17:16:39 +02:00
## Themes using this layer
- [circular_economy](https://mapcomplete.org/circular_economy)
- [personal](https://mapcomplete.org/personal)
## Presets
The following options to create new points are included:
- **an assisted repair workshop** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dworkshop' target='_blank'>workshop</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:repair' target='_blank'>repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:repair%3Dassisted_self_service' target='_blank'>assisted_self_service</a>
## Basic tags for this layer
Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:repair' target='_blank'>repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:repair%3Dassisted_self_service' target='_blank'>assisted_self_service</a>**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22repair%22%3D%22assisted_self_service%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
2025-04-10 04:51:26 +02:00
**Warning:**: this quick overview is incomplete
2024-10-15 17:16:39 +02:00
| attribute | type | values which are supported by this layer |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/name#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/name/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [name](https://wiki.openstreetmap.org/wiki/Key:name) | [string](../SpecialInputElements.md#string) | |
2025-08-13 23:06:38 +02:00
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/opening_hours#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/opening_hours/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours) | [opening_hours](../SpecialInputElements.md#opening_hours) | [opening_hours="by appointment"](https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D"by appointment") |
2024-10-15 17:16:39 +02:00
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/phone#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/phone/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [phone](https://wiki.openstreetmap.org/wiki/Key:phone) | [phone](../SpecialInputElements.md#phone) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/email#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/email/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [email](https://wiki.openstreetmap.org/wiki/Key:email) | [email](../SpecialInputElements.md#email) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/website#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/website/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [website](https://wiki.openstreetmap.org/wiki/Key:website) | [url](../SpecialInputElements.md#url) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/contact:mastodon#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/contact%3Amastodon/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [contact:mastodon](https://wiki.openstreetmap.org/wiki/Key:contact:mastodon) | [fediverse](../SpecialInputElements.md#fediverse) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/contact:facebook#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/contact%3Afacebook/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [contact:facebook](https://wiki.openstreetmap.org/wiki/Key:contact:facebook) | [url](../SpecialInputElements.md#url) | |
2025-04-10 04:51:26 +02:00
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
| [images](#images) <br/> _(Original in [questions](./BuiltinQuestions.md#images))_ | _{image_carousel()}{image_upload()}_ | | _Multiple choice only_ |
| [preset_description](#preset_description) <br/> _(Original in [questions](./BuiltinQuestions.md#preset_description))_ | _{preset_description()}_ | | _Multiple choice only_ |
| [name](#name) | What is the name of this repair workshop?<br/>_This workshop is called <b>{name}</b>_ | | *[name](https://wiki.osm.org/wiki/Key:name)* ([string](../SpecialInputElements.md#string)) |
| [opening_hours_by_appointment](#opening_hours_by_appointment) <br/> _(Original in [questions](./BuiltinQuestions.md#opening_hours_by_appointment))_ | What are the opening hours of ?<br/>_<h3>Opening hours</h3>{opening_hours_table(opening_hours)}_<br/>3 options | | *[opening_hours](https://wiki.osm.org/wiki/Key:opening_hours)* ([opening_hours](../SpecialInputElements.md#opening_hours)) |
| [phone](#phone) <br/> _(Original in [questions](./BuiltinQuestions.md#phone))_ | What is the phone number of ?<br/>_{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}_<br/>1 options | contact | *[phone](https://wiki.osm.org/wiki/Key:phone)* ([phone](../SpecialInputElements.md#phone)) |
| [email](#email) <br/> _(Original in [questions](./BuiltinQuestions.md#email))_ | What is the email address of ?<br/>_<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>_<br/>2 options | contact | *[email](https://wiki.osm.org/wiki/Key:email)* ([email](../SpecialInputElements.md#email)) |
| [website](#website) <br/> _(Original in [questions](./BuiltinQuestions.md#website))_ | What is the website of ?<br/>_<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>_<br/>1 options | contact | *[website](https://wiki.osm.org/wiki/Key:website)* ([url](../SpecialInputElements.md#url)) |
| [mastodon](#mastodon) <br/> _(Original in [questions](./BuiltinQuestions.md#mastodon))_ | What is the Mastodon-handle of ?<br/>_{fediverse_link(contact:mastodon)}_ | | *[contact:mastodon](https://wiki.osm.org/wiki/Key:contact:mastodon)* ([fediverse](../SpecialInputElements.md#fediverse)) |
| [facebook](#facebook) <br/> _(Original in [questions](./BuiltinQuestions.md#facebook))_ | What is the facebook page of of ?<br/>_{link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}<div class='subtle text-sm'>Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives</div>_ | | *[contact:facebook](https://wiki.osm.org/wiki/Key:contact:facebook)* ([url](../SpecialInputElements.md#url)) |
| [item:repair](#item:repair) | What type of items are repaired here?<br/>6 options | | _Multiple choice only_ |
2025-04-15 18:18:44 +02:00
| [leftover-questions](#leftover-questions) | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
2025-04-10 04:51:26 +02:00
| [move-button](#move-button) | _{move_button()}_ | | _Multiple choice only_ |
| [delete-button](#delete-button) | _{delete_button()}_ | | _Multiple choice only_ |
2025-07-10 18:26:31 +02:00
| [spacer](#spacer) | _<div class='m-4'/>_ | | _Multiple choice only_ |
2025-04-10 04:51:26 +02:00
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |
2024-10-15 17:16:39 +02:00
### 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_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{image_carousel()}{image_upload()}*
### preset_description
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{preset_description()}*
### name
The question is `What is the name of this repair workshop?`
2025-05-19 23:05:37 +02:00
*This workshop is called <b>{name}</b>* is shown if `name` is set.
2024-10-15 17:16:39 +02:00
### opening_hours_by_appointment
The question is `What are the opening hours of {title()}?`
2025-05-19 23:05:37 +02:00
*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set.
2024-10-15 17:16:39 +02:00
- *Only by appointment* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D"by appointment"' target='_blank'>"by appointment"</a>
- *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 <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3Dclosed' target='_blank'>closed</a>. _This option cannot be chosen as answer_
### phone
The question is `What is the phone number of {title()}?`
2025-05-19 23:05:37 +02:00
*{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}* is shown if `phone` is set.
2024-10-15 17:16:39 +02:00
2025-02-10 02:15:09 +01:00
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/questions/phone.svg'> *{link(&LBRACEcontact:phone&RBRACE,tel:&LBRACEcontact:phone&RBRACE,,,,)}* is shown if with contact:phone~.+. _This option cannot be chosen as answer_
2024-10-15 17:16:39 +02:00
2025-06-13 02:38:17 +02:00
This tagrendering has labels `contact`
2024-10-15 17:16:39 +02:00
### email
The question is `What is the email address of {title()}?`
2025-05-19 23:05:37 +02:00
*<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>* is shown if `email` is set.
2024-10-15 17:16:39 +02:00
2025-02-10 02:15:09 +01:00
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/svg/envelope.svg'> *<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>* is shown if with contact:email~.+. _This option cannot be chosen as answer_
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/svg/envelope.svg'> *<a href='mailto:{operator:email}' target='_blank' rel='noopener'>{operator:email}</a>* is shown if with operator:email~.+. _This option cannot be chosen as answer_
2024-10-15 17:16:39 +02:00
2025-06-13 02:38:17 +02:00
This tagrendering has labels `contact`
2024-10-15 17:16:39 +02:00
### website
The question is `What is the website of {title()}?`
2025-05-19 23:05:37 +02:00
*<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>* is shown if `website` is set.
2024-10-15 17:16:39 +02:00
2025-02-10 02:15:09 +01:00
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/icons/website.svg'> *<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>* is shown if with contact:website~.+. _This option cannot be chosen as answer_
2024-10-15 17:16:39 +02:00
2025-06-13 02:38:17 +02:00
This tagrendering has labels `contact`
2024-10-15 17:16:39 +02:00
### mastodon
Shows and asks for the mastodon handle
The question is `What is the Mastodon-handle of {title()}?`
2025-05-19 23:05:37 +02:00
*{fediverse_link(contact:mastodon)}* is shown if `contact:mastodon` is set.
2024-10-15 17:16:39 +02:00
### facebook
Shows and asks for the facebook handle
The question is `What is the facebook page of of {title()}?`
2025-05-19 23:05:37 +02:00
*{link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}<div class='subtle text-sm'>Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives</div>* is shown if `contact:facebook` is set.
2024-10-15 17:16:39 +02:00
### item:repair
The question is `What type of items are repaired here?`
- *Mobile phones are repaired here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:service:mobile_phone:repair' target='_blank'>service:mobile_phone:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:mobile_phone:repair%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:service:mobile_phone:repair' target='_blank'>service:mobile_phone:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:mobile_phone:repair%3Dno' target='_blank'>no</a>
- *Computers are repaired here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:service:computer:repair' target='_blank'>service:computer:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:computer:repair%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:service:computer:repair' target='_blank'>service:computer:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:computer:repair%3Dno' target='_blank'>no</a>
- *Bicycles are repaired here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:service:bicycle:repair' target='_blank'>service:bicycle:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:bicycle:repair%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:service:bicycle:repair' target='_blank'>service:bicycle:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:bicycle:repair%3Dno' target='_blank'>no</a>
2025-02-10 02:15:09 +01:00
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/recycling/small_electrical_appliances.svg'> *Electronic devices are repaired here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:service:electronics:repair' target='_blank'>service:electronics:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:electronics:repair%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:service:electronics:repair' target='_blank'>service:electronics:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:electronics:repair%3Dno' target='_blank'>no</a>
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/recycling/furniture.svg'> *Furniture is repaired here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:service:furniture:repair' target='_blank'>service:furniture:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:furniture:repair%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:service:furniture:repair' target='_blank'>service:furniture:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:furniture:repair%3Dno' target='_blank'>no</a>
- <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/recycling/clothes.svg'> *Clothes are repaired here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:service:clothes:repair' target='_blank'>service:clothes:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:clothes:repair%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:service:clothes:repair' target='_blank'>service:clothes:repair</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:service:clothes:repair%3Dno' target='_blank'>no</a>
2024-10-15 17:16:39 +02:00
### leftover-questions
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-04-05 02:18:45 +02:00
*{questions( ,hidden)}*
2024-10-15 17:16:39 +02:00
2025-06-13 02:38:17 +02:00
This tagrendering has labels `ignore-docs` `added_by_default`
2025-04-15 18:18:44 +02:00
2024-10-15 17:16:39 +02:00
### move-button
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{move_button()}*
### delete-button
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{delete_button()}*
2025-07-10 18:26:31 +02:00
### spacer
_This tagrendering has no question and is thus read-only_
*<div class='m-4'/>*
2024-10-15 17:16:39 +02:00
### lod
_This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2024-10-15 17:16:39 +02:00
*{linked_data_from_website()}*
2025-06-13 02:38:17 +02:00
This tagrendering has labels `added_by_default`
2024-10-15 17:16:39 +02:00
## Filters
| id | question | osmTags |
-----|-----|----- |
2025-01-02 15:34:59 +01:00
| open_now.0 | Now open | _isOpen=yes |
2024-10-15 17:16:39 +02:00
2025-01-28 15:42:34 +01:00
This document is autogenerated from [assets/layers/assisted_repair/assisted_repair.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/assisted_repair/assisted_repair.json)