mapcomplete/Docs/Layers/note.md

228 lines
4.8 KiB
Markdown
Raw Normal View History

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2024-07-12 03:16:41 +02:00
# note
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
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)
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
2024-07-12 03:16:41 +02:00
- This layer is shown at zoomlevel **10** and higher
- <img src='../warning.svg' height='1rem'/>
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
This layer is loaded from an external source, namely
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
`https://api.openstreetmap.org/api/0.6/notes.json?limit=10000&closed=7&bbox={x_min},{y_min},{x_max},{y_max}`
2024-07-16 19:31:00 +02:00
2024-05-07 00:41:59 +02:00
## Table of contents
2024-07-12 03:16:41 +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-06-18 21:11:42 +02:00
- [conversation](#conversation)
- [add_image](#add_image)
- [comment](#comment)
- [nearby-images](#nearby-images)
2024-07-16 19:31:00 +02:00
- [Nearby images](#nearby-images)
2024-06-18 21:11:42 +02:00
- [report-contributor](#report-contributor)
- [report-note](#report-note)
- [leftover-questions](#leftover-questions)
- [lod](#lod)
2024-07-16 19:31:00 +02:00
4. [Filters](#filters)
2024-05-07 00:41:59 +02:00
2024-07-12 03:16:41 +02:00
## Themes using this layer
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
2024-07-12 03:16:41 +02:00
- [notes](https://mapcomplete.org/notes)
- [personal](https://mapcomplete.org/personal)
2024-05-07 00:41:59 +02:00
2024-07-16 19:31:00 +02:00
2024-07-12 03:16:41 +02:00
## Basic tags for this layer
2024-05-07 00:41:59 +02:00
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)
2024-07-12 03:16:41 +02:00
## Supported attributes
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### conversation
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{visualize_note_comments()}*
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### add_image
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{add_image_to_note()}*
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### comment
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{add_note_comment()}*
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### nearby-images
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*<h3>Nearby images</h3>The pictures below are nearby geotagged images and might be helpful to handle this note.{nearby_images(open,)}*
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### report-contributor
2024-06-18 21:11:42 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*<a href='https://www.openstreetmap.org/reports/new?reportable_id={_first_user_id}&reportable_type=User' target='_blank' class='subtle'>Report {_first_user} for spam or inappropriate messages</a>*
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
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>
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### report-note
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*<a href='https://www.openstreetmap.org/reports/new?reportable_id={id}&reportable_type=Note' target='_blank'>Report this note as spam or inappropriate</a>*
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### leftover-questions
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{questions( ,)}*
2024-06-18 21:11:42 +02:00
### lod
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-07-16 19:31:00 +02:00
*{linked_data_from_website()}*
2023-12-30 15:24:30 +01:00
2024-06-18 21:11:42 +02:00
This tagrendering has labels
`added_by_default`
2024-07-16 19:31:00 +02:00
## Filters
2024-07-12 03:16:41 +02:00
| id | question | osmTags | fields |
-----|-----|-----|----- |
| search.0 | Should mention {search} in the first comment | | search (string) |
| id | question | osmTags | fields |
-----|-----|-----|----- |
| not.0 | Should <b>not</b> mention {search} in the first comment | | search (string) |
| id | question | osmTags | fields |
-----|-----|-----|----- |
| opened_by.0 | Opened by contributor {search} | | search (string) |
2024-07-12 03:16:41 +02:00
| id | question | osmTags | fields |
-----|-----|-----|----- |
| not_opened_by.0 | <b>Not</b> opened by contributor {search} | | search (string) |
2024-07-12 03:16:41 +02:00
| id | question | osmTags | fields |
-----|-----|-----|----- |
| edited_by.0 | Last edited by contributor {search} | | search (string) |
2024-07-12 03:16:41 +02:00
| id | question | osmTags | fields |
-----|-----|-----|----- |
| not_edited_by.0 | Opened after {search} | | search (string) |
2024-07-12 03:16:41 +02:00
| id | question | osmTags | fields |
-----|-----|-----|----- |
| opened_before.0 | Created before {search} | | search (date) |
2024-07-12 03:16:41 +02:00
| id | question | osmTags | fields |
-----|-----|-----|----- |
| opened_after.0 | Created after {search} | | search (date) |
2024-07-12 03:16:41 +02:00
| id | question | osmTags |
-----|-----|----- |
| anonymous.0 | Only show notes opened by an anonymous contributor | _opened_by_anonymous_user=true |
2024-07-12 03:16:41 +02:00
| id | question | osmTags |
-----|-----|----- |
| is_open.0 | Only show open notes | closed_at= |
2024-07-12 03:16:41 +02:00
| 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)