MapComplete/Docs/Layers/public_bookcase.md

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

211 lines
16 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)
# public_bookcase
A streetside cabinet with books, accessible to anyone
- This layer is shown at zoomlevel **10** and higher
2025-04-05 02:18:45 +02:00
- 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])
2024-10-15 17:16:39 +02:00
## 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)
- [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)
2025-04-10 04:51:26 +02:00
6. [Filters](#filters)
2024-10-15 17:16:39 +02:00
## 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:<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>
2025-04-05 02:18:45 +02:00
- **a bookcase on a wall** 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%3Dpublic_bookcase' target='_blank'>public_bookcase</a> (snaps to layers `walls_and_buildings`)
2024-10-15 17:16:39 +02:00
## Basic tags for this layer
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)
## 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) | [](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) | |
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_ |
| [public_bookcase-name](#public_bookcase-name) | What is the name of this public bookcase?<br/>_The name of this bookcase is {name}_<br/>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?<br/>_{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?<br/>_This place mostly serves {books}_<br/>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?<br/>3 options | | _Multiple choice only_ |
| [bookcase-is-accessible](#bookcase-is-accessible) | Is this public bookcase freely accessible?<br/>2 options | | _Multiple choice only_ |
| [public_bookcase-operator](#public_bookcase-operator) | Who maintains this public bookcase?<br/>_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?<br/>_This public bookcase is part of {brand}_<br/>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?<br/>_The reference number of this public bookcase within {brand} is {ref}_<br/>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?<br/>_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?<br/>_{link(More info on the website,&LBRACEwebsite&RBRACE,,,,)}_ | | *[website](https://wiki.osm.org/wiki/Key:website)* ([url](../SpecialInputElements.md#url)) |
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_ |
| [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()}*
### public_bookcase-name
The question is `What is the name of this public bookcase?`
2025-05-19 23:05:37 +02:00
*The name of this bookcase is {name}* is shown if `name` is set.
2024-10-15 17:16:39 +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=
### public_bookcase-capacity
The question is `How many books fit into this public bookcase?`
2025-05-19 23:05:37 +02:00
*{capacity} books fit in this bookcase* is shown if `capacity` is set.
2024-10-15 17:16:39 +02:00
### bookcase-booktypes
The question is `What kind of books can be found in this public bookcase?`
2025-05-19 23:05:37 +02:00
*This place mostly serves {books}* is shown if `books` is set.
2024-10-15 17:16:39 +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>
### bookcase-is-indoors
The question is `Is this bookcase located outdoors?`
- *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_
### bookcase-is-accessible
The question is `Is this public bookcase freely accessible?`
- *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>
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>
### public_bookcase-operator
The question is `Who maintains this public bookcase?`
2025-05-19 23:05:37 +02:00
*Operated by {operator}* is shown if `operator` is set.
2024-10-15 17:16:39 +02:00
### public_bookcase-brand
The question is `Is this public bookcase part of a bigger network?`
2025-05-19 23:05:37 +02:00
*This public bookcase is part of {brand}* is shown if `brand` is set.
2024-10-15 17:16:39 +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>
### public_bookcase-ref
The question is `What is the reference number of this public bookcase?`
2025-05-19 23:05:37 +02:00
*The reference number of this public bookcase within {brand} is {ref}* is shown if `ref` is set.
2024-10-15 17:16:39 +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=
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?`
2025-05-19 23:05:37 +02:00
*Installed on {start_date}* is shown if `start_date` is set.
2024-10-15 17:16:39 +02:00
### public_bookcase-website
The question is `Is there a website with more information about this public bookcase?`
2025-05-19 23:05:37 +02:00
*{link(More info on the website,&LBRACEwebsite&RBRACE,,,,)}* is shown if `website` is set.
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()}*
### 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 |
-----|-----|----- |
| 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) | |
2025-04-10 04:51:26 +02:00
| 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!~.+) |
2024-10-15 17:16:39 +02:00
2025-01-28 15:42:34 +01:00
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)