[//]: # (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
- This layer will automatically load [walls_and_buildings](./walls_and_buildings.md) into the layout as it depends on it: preset `a bookcase on a wall` snaps to this layer (public_bookcase.presets[1])
## 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)
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
- [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)
6. [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
- **a bookcase on a wall** which has the following tags:amenity=public_bookcase (snaps to layers `walls_and_buildings`)
## 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) | |
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
| [images](#images)
_(Original in [questions](./BuiltinQuestions.md#images))_ | _{image_carousel()}{image_upload()}_ | | _Multiple choice only_ |
| [public_bookcase-name](#public_bookcase-name) | What is the name of this public bookcase?
_The name of this bookcase is {name}_
1 options | | *[name](https://wiki.osm.org/wiki/Key:name)* ([string](../SpecialInputElements.md#string)) |
| [public_bookcase-capacity](#public_bookcase-capacity) | How many books fit into this public bookcase?
_{capacity} books fit in this bookcase_ | | *[capacity](https://wiki.osm.org/wiki/Key:capacity)* ([nat](../SpecialInputElements.md#nat)) |
| [bookcase-booktypes](#bookcase-booktypes) | What kind of books can be found in this public bookcase?
_This place mostly serves {books}_
2 options | | *[books](https://wiki.osm.org/wiki/Key:books)* ([string](../SpecialInputElements.md#string)) |
| [bookcase-is-indoors](#bookcase-is-indoors) | Is this bookcase located outdoors?
3 options | | _Multiple choice only_ |
| [bookcase-is-accessible](#bookcase-is-accessible) | Is this public bookcase freely accessible?
2 options | | _Multiple choice only_ |
| [public_bookcase-operator](#public_bookcase-operator) | Who maintains this public bookcase?
_Operated by {operator}_ | | *[operator](https://wiki.osm.org/wiki/Key:operator)* ([string](../SpecialInputElements.md#string)) |
| [public_bookcase-brand](#public_bookcase-brand) | Is this public bookcase part of a bigger network?
_This public bookcase is part of {brand}_
1 options | | *[brand](https://wiki.osm.org/wiki/Key:brand)* ([string](../SpecialInputElements.md#string)) |
| [public_bookcase-ref](#public_bookcase-ref) | What is the reference number of this public bookcase?
_The reference number of this public bookcase within {brand} is {ref}_
1 options | | *[ref](https://wiki.osm.org/wiki/Key:ref)* ([string](../SpecialInputElements.md#string)) |
| [public_bookcase-start_date](#public_bookcase-start_date) | When was this public bookcase installed?
_Installed on {start_date}_ | | *[start_date](https://wiki.osm.org/wiki/Key:start_date)* ([date](../SpecialInputElements.md#date)) |
| [public_bookcase-website](#public_bookcase-website) | Is there a website with more information about this public bookcase?
_{link(More info on the website,&LBRACEwebsite&RBRACE,,,,)}_ | | *[website](https://wiki.osm.org/wiki/Key:website)* ([url](../SpecialInputElements.md#url)) |
| [leftover-questions](#leftover-questions) | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
| [move-button](#move-button) | _{move_button()}_ | | _Multiple choice only_ |
| [delete-button](#delete-button) | _{delete_button()}_ | | _Multiple choice only_ |
| [lod](#lod)
_(Original in [questions](./BuiltinQuestions.md#lod))_ | _{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()}*
### 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( ,hidden)}*
This tagrendering has labels
`ignore-docs`
`added_by_default`
### 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-9]+)$~~.+ | ^(panoramax:[0-9]+)$~~.+ | mapillary~.+ |
| has_image.2 | Probably does not have an image | (image!~.+ | ^(image:[0-9]+!)$~~.+ | ^(panoramax:[0-9]+!)$~~.+ | mapillary!~.+) |
This document is autogenerated from [assets/layers/public_bookcase/public_bookcase.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/public_bookcase/public_bookcase.json)