[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# public_bookcase
A streetside cabinet with books, accessible to anyone
- This layer is shown at zoomlevel **10** 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)
- [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)
5. [Filters](#filters)
## Themes using this layer
- [bookcases](https://mapcomplete.org/bookcases)
- [circular_economy](https://mapcomplete.org/circular_economy)
- [personal](https://mapcomplete.org/personal)
## Presets
The following options to create new points are included:
- **a bookcase** which has the following tags:amenity=public_bookcase
## Basic tags for this layer
Elements must match the expression **amenity=public_bookcase**
[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)
## Supported attributes
**Warning:**,this quick overview is incomplete,
| attribute | type | values which are supported by this layer |
-----|-----|----- |
| [name](https://wiki.openstreetmap.org/wiki/Key:name) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:name%3D) |
| [capacity](https://wiki.openstreetmap.org/wiki/Key:capacity) | [nat](../SpecialInputElements.md#nat) | |
| [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) |
| [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) |
| [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) |
| [operator](https://wiki.openstreetmap.org/wiki/Key:operator) | [string](../SpecialInputElements.md#string) | |
| [brand](https://wiki.openstreetmap.org/wiki/Key:brand) | [string](../SpecialInputElements.md#string) | |
| [ref](https://wiki.openstreetmap.org/wiki/Key:ref) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:ref%3D) |
| [start_date](https://wiki.openstreetmap.org/wiki/Key:start_date) | [date](../SpecialInputElements.md#date) | |
| [website](https://wiki.openstreetmap.org/wiki/Key:website) | [url](../SpecialInputElements.md#url) | |
### 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()}*
### public_bookcase-name
The question is `What is the name of this public bookcase?`
*The name of this bookcase is {name}* is shown if `name` is set
- *This bookcase doesn't have a name* is shown if with noname=yes & name=
### public_bookcase-capacity
The question is `How many books fit into this public bookcase?`
*{capacity} books fit in this bookcase* is shown if `capacity` is set
### bookcase-booktypes
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
- *Mostly children books* is shown if with books=children
- *Mostly books for adults* is shown if with books=adults
### bookcase-is-indoors
The question is `Is this bookcase located outdoors?`
- *This bookcase is located indoors* is shown if with indoor=yes
- *This bookcase is located outdoors* is shown if with indoor=no
- *This bookcase is located outdoors* is shown if with indoor=. _This option cannot be chosen as answer_
### bookcase-is-accessible
The question is `Is this public bookcase freely accessible?`
- *Publicly accessible* is shown if with access=yes
- *Only accessible to customers* is shown if with access=customers
This tagrendering is only visible in the popup if the following condition is met: indoor=yes
### public_bookcase-operator
The question is `Who maintains this public bookcase?`
*Operated by {operator}* is shown if `operator` is set
### public_bookcase-brand
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
- *This public bookcase is not part of a bigger network* is shown if with nobrand=yes
### public_bookcase-ref
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
- *This bookcase is not part of a bigger network* is shown if with nobrand=yes & brand= & ref=
This tagrendering is only visible in the popup if the following condition is met: brand~.+
### public_bookcase-start_date
The question is `When was this public bookcase installed?`
*Installed on {start_date}* is shown if `start_date` is set
### public_bookcase-website
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
### 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`
## Filters
| id | question | osmTags |
-----|-----|----- |
| kid-books.0 | Has children books | books~^(.*children.*)$ |
| id | question | osmTags |
-----|-----|----- |
| adult-books.0 | Has books for adults | books~^(.*adults.*)$ |
| id | question | osmTags |
-----|-----|----- |
| inside.0 | *Indoor or outdoor* (default) | |
| inside.1 | Located indoors | indoor=yes |
| inside.2 | Located outdoors | indoor=no | indoor= |
| 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= |
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)