mapcomplete/Docs/Layers/item_with_image.md

130 lines
4.3 KiB
Markdown
Raw Normal View History

2024-03-13 00:00:29 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2024-04-28 03:46:56 +02:00
item\_with\_image
2024-03-13 00:00:29 +01:00
=================
All items with an image. All alone, not a layer which is relevant for any MapComplete theme, as it is a random collection of items. However, when put into the databank, this allows to quickly fetch (the URL of) pictures nearby a different object, to quickly link this
2024-04-28 03:46:56 +02:00
* This layer is shown at zoomlevel **14** and higher
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
Table of contents
-----------------
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +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-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
* [just\_created](#just_created)
* [images](#images)
* [leftover-questions](#leftover-questions)
* [lod](#lod)
* [minimap](#minimap)
* [last\_edit](#last_edit)
* [favourite\_status](#favourite_status)
* [qr\_code](#qr_code)
* [share](#share)
* [all-tags](#all-tags)
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
Themes using this layer
-----------------------
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
* [items\_with\_image](https://mapcomplete.org/items_with_image)
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
Basic tags for this layer
-------------------------
2024-03-13 00:00:29 +01:00
Elements must match **any** of the following expressions:
2024-04-28 03:46:56 +02:00
* image~.+
* image:0~.+
* image:1~.+
* image:2~.+
* image:3~.+
* image:4~.+
* image:5~.+
2024-03-13 00:00:29 +01:00
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22image%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22image%3A0%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22image%3A1%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22image%3A2%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22image%3A3%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22image%3A4%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22image%3A5%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
2024-04-28 03:46:56 +02:00
Supported attributes
--------------------
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
Warning:
2024-03-13 00:00:29 +01:00
this quick overview is incomplete
2024-04-28 03:46:56 +02:00
attribute
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
type
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
values which are supported by this layer
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id)
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
Multiple choice
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
### just\_created
2024-03-13 00:00:29 +01:00
This element shows a 'thank you' that the contributor has recently created this element
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
* _You just created this element! Thanks for sharing this info with the world and helping people worldwide._ corresponds with id~.+
2024-03-13 00:00:29 +01:00
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+`
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
### images
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +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-03-13 00:00:29 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### leftover-questions
2024-03-13 00:00:29 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### lod
2024-04-13 02:40:21 +02:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2024-04-13 02:40:21 +02:00
2024-04-28 03:46:56 +02:00
### minimap
2024-03-13 00:00:29 +01:00
Shows a small map with the feature. Added by default to every popup
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### last\_edit
2024-03-13 00:00:29 +01:00
Gives some metainfo about the last edit and who did edit it - rendering only
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
### favourite\_status
2024-03-13 00:00:29 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
### qr\_code
2024-03-13 00:00:29 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
### share
2024-03-13 00:00:29 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This tagrendering has labels `added_by_default`
2024-03-13 00:00:29 +01:00
2024-04-28 03:46:56 +02:00
### all-tags
2024-03-13 00:00:29 +01:00
This tagrendering has no question and is thus read-only
2024-04-28 03:46:56 +02:00
This document is autogenerated from [assets/layers/item\_with\_image/item\_with\_image.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/item_with_image/item_with_image.json)