mapcomplete/Docs/Layers/note.md

309 lines
5.8 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
note
====
This layer shows notes on OpenStreetMap. Having this layer in your theme will trigger the 'add new note' functionality in the 'addNewPoint'-popup (or if your theme has no presets, it'll enable adding notes)
* This layer is shown at zoomlevel **10** and higher
* ![](../warning.svg) This layer is loaded from an external source, namely `https://api.openstreetmap.org/api/0.6/notes.json?limit=10000&closed=7&bbox={x_min},{y_min},{x_max},{y_max}`
Table of contents
-----------------
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-)
* [just\_created](#just_created)
* [conversation](#conversation)
* [add\_image](#add_image)
* [comment](#comment)
* [nearby-images](#nearby-images)
* [report-contributor](#report-contributor)
* [report-note](#report-note)
* [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)
* [Filters](#filters)
Themes using this layer
-----------------------
* [notes](https://mapcomplete.org/notes)
* [personal](https://mapcomplete.org/personal)
Basic tags for this layer
-------------------------
Elements must match the expression **date\_created~.+**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22date_created%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
[![](https://mapcomplete.org/assets/svg/statistics.svg)](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id)
Multiple choice
### just\_created
This element shows a 'thank you' that the contributor has recently created this element
This tagrendering has no question and is thus read-only
* _You just created this element! Thanks for sharing this info with the world and helping people worldwide._ corresponds with id~.+
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~.+`
This tagrendering has labels `added_by_default`
### conversation
This tagrendering has no question and is thus read-only
### add\_image
This tagrendering has no question and is thus read-only
### comment
This tagrendering has no question and is thus read-only
### nearby-images
This tagrendering has no question and is thus read-only
### report-contributor
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `<a href='https://wiki.openstreetmap.org/wiki/Key:_opened_by_anonymous_user' target='_blank'>_opened_by_anonymous_user</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_opened_by_anonymous_user%3Dfalse' target='_blank'>false</a>`
### report-note
This tagrendering has no question and is thus read-only
### leftover-questions
This tagrendering has no question and is thus read-only
### lod
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### minimap
Shows a small map with the feature. Added by default to every popup
This tagrendering has no question and is thus read-only
### last\_edit
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~.+`
This tagrendering has labels `added_by_default`
### favourite\_status
This tagrendering has no question and is thus read-only
### qr\_code
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### share
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### all-tags
This tagrendering has no question and is thus read-only
#### Filters
id
question
osmTags
fields
search.0
Should mention {search} in the first comment
search (string)
id
question
osmTags
fields
not.0
Should **not** mention {search} in the first comment
search (string)
id
question
osmTags
fields
opened\_by.0
Opened by contributor {search}
search (string)
id
question
osmTags
fields
not\_opened\_by.0
**Not** opened by contributor {search}
search (string)
id
question
osmTags
fields
edited\_by.0
Last edited by contributor {search}
search (string)
id
question
osmTags
fields
not\_edited\_by.0
Opened after {search}
search (string)
id
question
osmTags
fields
opened\_before.0
Created before {search}
search (date)
id
question
osmTags
fields
opened\_after.0
Created after {search}
search (date)
id
question
osmTags
anonymous.0
Only show notes opened by an anonymous contributor
\_opened\_by\_anonymous\_user=true
id
question
osmTags
is\_open.0
Only show open notes
closed\_at=
id
question
osmTags
no\_imports.0
All Notes (default)
no\_imports.1
Hide import notes
\_is\_import\_note=
no\_imports.2
Show only import Notes
\_is\_import\_note~.+
This document is autogenerated from [assets/layers/note/note.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/note/note.json)