mapcomplete/Docs/Layers/public_bookcase.md

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

268 lines
12 KiB
Markdown
Raw Normal View History

2023-02-12 23:08:57 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2022-02-14 04:59:49 +01:00
2024-07-12 03:16:41 +02:00
# public_bookcase
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
2022-01-14 19:36:36 +01:00
A streetside cabinet with books, accessible to anyone
2024-04-28 03:46:56 +02:00
2022-02-14 04:59:49 +01:00
2024-07-16 19:31:00 +02:00
2024-07-12 03:16:41 +02:00
- This layer is shown at zoomlevel **7** and higher
2024-07-16 19:31:00 +02:00
2024-05-07 00:41:59 +02:00
## Table of contents
2022-02-14 04:59:49 +01:00
2024-07-12 03:16:41 +02:00
1. [Themes using this layer](#themes-using-this-layer)
2. [Basic tags for this layer](#basic-tags-for-this-layer)
3. [Supported attributes](#supported-attributes)
2024-06-18 21:11:42 +02:00
- [images](#images)
- [public_bookcase-name](#public_bookcase-name)
- [public_bookcase-capacity](#public_bookcase-capacity)
- [bookcase-booktypes](#bookcase-booktypes)
- [bookcase-is-indoors](#bookcase-is-indoors)
- [bookcase-is-accessible](#bookcase-is-accessible)
- [public_bookcase-operator](#public_bookcase-operator)
- [public_bookcase-brand](#public_bookcase-brand)
- [public_bookcase-ref](#public_bookcase-ref)
- [public_bookcase-start_date](#public_bookcase-start_date)
- [public_bookcase-website](#public_bookcase-website)
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [delete-button](#delete-button)
- [lod](#lod)
2024-07-16 19:31:00 +02:00
4. [Filters](#filters)
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
## Themes using this layer
2024-07-16 19:31:00 +02:00
2024-07-12 03:16:41 +02:00
- [bookcases](https://mapcomplete.org/bookcases)
- [personal](https://mapcomplete.org/personal)
2024-07-16 19:31:00 +02:00
2024-07-12 03:16:41 +02:00
## Basic tags for this layer
2024-05-07 00:41:59 +02:00
Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpublic_bookcase' target='_blank'>public_bookcase</a>**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22amenity%22%3D%22public_bookcase%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
2024-07-12 03:16:41 +02:00
## Supported attributes
2022-03-24 19:59:57 +01:00
2024-07-12 03:16:41 +02:00
**Warning:**,this quick overview is incomplete,
2022-02-14 04:59:49 +01:00
2024-07-12 03:16:41 +02:00
| attribute | type | values which are supported by this layer |
-----|-----|----- |
2024-07-16 19:31:00 +02:00
| <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) | [](https://wiki.openstreetmap.org/wiki/Tag:name%3D) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/capacity#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/capacity/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [capacity](https://wiki.openstreetmap.org/wiki/Key:capacity) | [nat](../SpecialInputElements.md#nat) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/books#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/books/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [books](https://wiki.openstreetmap.org/wiki/Key:books) | [string](../SpecialInputElements.md#string) | [children](https://wiki.openstreetmap.org/wiki/Tag:books%3Dchildren) [adults](https://wiki.openstreetmap.org/wiki/Tag:books%3Dadults) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/indoor#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/indoor/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [indoor](https://wiki.openstreetmap.org/wiki/Key:indoor) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:indoor%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:indoor%3Dno) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/access#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/access/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [access](https://wiki.openstreetmap.org/wiki/Key:access) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:access%3Dyes) [customers](https://wiki.openstreetmap.org/wiki/Tag:access%3Dcustomers) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/operator#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/operator/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [operator](https://wiki.openstreetmap.org/wiki/Key:operator) | [string](../SpecialInputElements.md#string) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/brand#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/brand/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [brand](https://wiki.openstreetmap.org/wiki/Key:brand) | [string](../SpecialInputElements.md#string) | |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/ref#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/ref/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [ref](https://wiki.openstreetmap.org/wiki/Key:ref) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:ref%3D) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/start_date#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/start_date/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [start_date](https://wiki.openstreetmap.org/wiki/Key:start_date) | [date](../SpecialInputElements.md#date) | |
| <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) | |
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### images
2024-05-07 00:41:59 +02:00
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
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{image_carousel()}{image_upload()}*
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### public_bookcase-name
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
The question is `What is the name of this public bookcase?`
2024-07-16 19:31:00 +02:00
*The name of this bookcase is {name}* is shown if `name` is set
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
- *This bookcase doesn't have a name* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:noname' target='_blank'>noname</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:noname%3Dyes' target='_blank'>yes</a> & name=
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
### public_bookcase-capacity
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
The question is `How many books fit into this public bookcase?`
*{capacity} books fit in this bookcase* is shown if `capacity` is set
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
### bookcase-booktypes
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
The question is `What kind of books can be found in this public bookcase?`
*This place mostly serves {books}* is shown if `books` is set
2022-02-14 04:59:49 +01:00
2024-07-16 19:31:00 +02:00
- *Mostly children books* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:books' target='_blank'>books</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:books%3Dchildren' target='_blank'>children</a>
- *Mostly books for adults* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:books' target='_blank'>books</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:books%3Dadults' target='_blank'>adults</a>
2022-04-08 22:17:08 +02:00
2022-02-14 04:59:49 +01:00
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
### bookcase-is-indoors
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
The question is `Is this bookcase located outdoors?`
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
- *This bookcase is located indoors* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:indoor' target='_blank'>indoor</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:indoor%3Dyes' target='_blank'>yes</a>
- *This bookcase is located outdoors* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:indoor' target='_blank'>indoor</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:indoor%3Dno' target='_blank'>no</a>
- *This bookcase is located outdoors* is shown if with indoor=. _This option cannot be chosen as answer_
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
2022-02-14 04:59:49 +01:00
2024-07-16 19:31:00 +02:00
### bookcase-is-accessible
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
The question is `Is this public bookcase freely accessible?`
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
- *Publicly accessible* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:access' target='_blank'>access</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:access%3Dyes' target='_blank'>yes</a>
- *Only accessible to customers* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:access' target='_blank'>access</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:access%3Dcustomers' target='_blank'>customers</a>
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:indoor' target='_blank'>indoor</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:indoor%3Dyes' target='_blank'>yes</a>
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
### public_bookcase-operator
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
The question is `Who maintains this public bookcase?`
*Operated by {operator}* is shown if `operator` is set
2024-05-07 00:41:59 +02:00
2022-02-14 04:59:49 +01:00
2024-07-16 19:31:00 +02:00
### public_bookcase-brand
2022-04-08 22:17:08 +02:00
2024-07-16 19:31:00 +02:00
The question is `Is this public bookcase part of a bigger network?`
*This public bookcase is part of {brand}* is shown if `brand` is set
2022-02-14 04:59:49 +01:00
2024-07-16 19:31:00 +02:00
- *This public bookcase is not part of a bigger network* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:nobrand' target='_blank'>nobrand</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:nobrand%3Dyes' target='_blank'>yes</a>
2024-06-18 21:11:42 +02:00
2024-07-16 19:31:00 +02:00
### public_bookcase-ref
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
The question is `What is the reference number of this public bookcase?`
*The reference number of this public bookcase within {brand} is {ref}* is shown if `ref` is set
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
- *This bookcase is not part of a bigger network* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:nobrand' target='_blank'>nobrand</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:nobrand%3Dyes' target='_blank'>yes</a> & brand= & ref=
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
2024-07-16 19:31:00 +02:00
This tagrendering is only visible in the popup if the following condition is met: brand~.+
2023-04-15 03:02:01 +02:00
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
### public_bookcase-start_date
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
The question is `When was this public bookcase installed?`
*Installed on {start_date}* is shown if `start_date` is set
2024-05-07 00:41:59 +02:00
2023-04-15 03:02:01 +02:00
2024-07-16 19:31:00 +02:00
### public_bookcase-website
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
The question is `Is there a website with more information about this public bookcase?`
*{link(More info on the website,&LBRACEwebsite&RBRACE,,,)}* is shown if `website` is set
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
### leftover-questions
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{questions( ,)}*
2023-04-15 03:02:01 +02:00
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
### move-button
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{move_button()}*
2023-05-08 00:20:32 +02:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
### delete-button
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{delete_button()}*
2023-12-30 15:24:30 +01:00
2024-07-16 19:31:00 +02:00
### lod
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{linked_data_from_website()}*
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2023-04-15 03:02:01 +02:00
2024-07-16 19:31:00 +02:00
## Filters
2024-07-12 03:16:41 +02:00
| id | question | osmTags |
-----|-----|----- |
| kid-books.0 | Has children books | books~^(.*children.*)$ |
2023-04-15 03:02:01 +02:00
2022-12-06 03:41:27 +01:00
2024-07-12 03:16:41 +02:00
| id | question | osmTags |
-----|-----|----- |
| adult-books.0 | Has books for adults | books~^(.*adults.*)$ |
2022-12-06 03:41:27 +01:00
2024-07-12 03:16:41 +02:00
| id | question | osmTags |
-----|-----|----- |
| inside.0 | *Indoor or outdoor* (default) | |
| inside.1 | Located indoors | indoor=yes |
| inside.2 | Located outdoors | indoor=no | indoor= |
2022-12-06 03:41:27 +01:00
2023-07-15 19:00:23 +02:00
2024-07-12 03:16:41 +02:00
| id | question | osmTags |
-----|-----|----- |
| has_image.0 | *With and without images* (default) | |
| has_image.1 | Has at least one image | image~.+ | image:0~.+ | image:1~.+ | image:2~.+ | image:3~.+ | mapillary~.+ |
| has_image.2 | Probably does not have an image | image= & image:0= & image:1= & image:2= & image:3= & mapillary= |
2023-07-15 19:00:23 +02:00
2022-01-14 19:36:36 +01:00
2024-05-07 00:41:59 +02:00
This document is autogenerated from [assets/layers/public_bookcase/public_bookcase.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/public_bookcase/public_bookcase.json)