MapComplete/Docs/Layers/note.md

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

176 lines
6.4 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)
# 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 **7** and higher
## Table of contents
2024-10-15 17:16:39 +02:00
1. [Themes using this layer](#themes-using-this-layer)
2. [Data source](#data-source)
3. [Overview of questions (and other elements) in the popup](#overview-of-questions-(and-other-elements)-in-the-popup)
2024-10-15 17:16:39 +02:00
- [conversation](#conversation)
- [add_image](#add_image)
- [comment](#comment)
- [nearby-images](#nearby-images)
- [report-contributor](#report-contributor)
- [report-note](#report-note)
- [leftover-questions](#leftover-questions)
2025-07-10 18:26:31 +02:00
- [spacer](#spacer)
2024-10-15 17:16:39 +02:00
- [lod](#lod)
4. [Filters](#filters)
2024-10-15 17:16:39 +02:00
## Themes using this layer
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
- [`notes`](https://mapcomplete.org/notes)
- [`personal`](https://mapcomplete.org/personal)
2024-10-15 17:16:39 +02:00
## Data source
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
⚠️ 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}`
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
This layer does not allowing adding new points
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
## Overview of questions (and other elements) in the popup
2025-04-10 04:51:26 +02:00
2024-10-15 17:16:39 +02:00
### conversation
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
{visualize_note_comments()}
2024-10-15 17:16:39 +02:00
### add_image
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
{add_image_to_note()}
2024-10-15 17:16:39 +02:00
### comment
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
{add_note_comment()}
2024-10-15 17:16:39 +02:00
### nearby-images
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
<h3>Nearby images</h3>The pictures below are nearby geotagged images and might be helpful to handle this note.{nearby_images(open,yes)}
2024-10-15 17:16:39 +02:00
### report-contributor
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +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-10-15 17:16:39 +02:00
2025-09-15 01:06:58 +02:00
This tagRendering is only visible in the information panel if the condition *<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>* is met
2024-10-15 17:16:39 +02:00
### report-note
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +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-10-15 17:16:39 +02:00
### leftover-questions
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
{questions( ,hidden)}
This tagRendering has the following labels:
2024-10-15 17:16:39 +02:00
2025-09-15 01:06:58 +02:00
- `ignore-docs`
- `added_by_default`
2025-04-15 18:18:44 +02:00
2025-07-10 18:26:31 +02:00
### spacer
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-07-10 18:26:31 +02:00
2025-09-15 01:06:58 +02:00
<div class='m-4'/>
2025-07-10 18:26:31 +02:00
2024-10-15 17:16:39 +02:00
### lod
2025-09-15 01:06:58 +02:00
2025-09-24 15:50:24 +02:00
> _This tagrendering has no question and is thus read-only_
2025-05-19 23:05:37 +02:00
2025-09-15 01:06:58 +02:00
{linked_data_from_website()}
This tagRendering has the following labels:
- `added_by_default`
2024-10-15 17:16:39 +02:00
2025-09-15 01:06:58 +02:00
Originally defined in [questions](../Docs/Layers/questions.md#lod)
2024-10-15 17:16:39 +02:00
## Filters
2025-09-24 15:50:24 +02:00
| id | Question | Attributes |
2024-10-15 17:16:39 +02:00
-----|-----|----- |
2025-09-24 15:50:24 +02:00
| anonymous.0 | Only show notes opened by an anonymous contributor | <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%3Dtrue' target='_blank'>true</a> |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes |
2024-10-15 17:16:39 +02:00
-----|-----|----- |
2025-09-24 15:50:24 +02:00
| is_open.0 | Only show open notes | <a href='https://wiki.openstreetmap.org/wiki/Key:closed_at' target='_blank'>closed_at</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:closed_at%3D' target='_blank'></a> |
2024-10-15 17:16:39 +02:00
| id | Question | Attributes |
-----|-----|----- |
| no_imports.0 | All Notes | _None - show all_ |
| no_imports.1 | Hide import notes | <a href='https://wiki.openstreetmap.org/wiki/Key:_is_import_note' target='_blank'>_is_import_note</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_is_import_note%3D' target='_blank'></a> |
| no_imports.2 | Show only import Notes | [_is_import_note](https://wiki.osm.org/wiki/Key:_is_import_note)`~.+` |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| search.0 | Should mention {search} in the first comment | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| search_any.0 | Should mention {search} in any comment | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| not.0 | Should <b>not</b> mention {search} in the first comment | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| search_not_any.0 | Should <b>not</b> mention {search} in <b>any</b> comment | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| opened_by.0 | Opened by contributor {search} | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| not_opened_by.0 | <b>Not</b> opened by contributor {search} | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| edited_by_any.0 | Edited or commented on by any user with name {search} | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| last_edited_by.0 | Last edited by contributor {search} | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| not_last_edited_by.0 | Not edited as last by {search} | _None - show all_ | search (regex) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| opened_before.0 | Created before {search} | _None - show all_ | search (date) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| opened_after.0 | Created after {search} | _None - show all_ | search (date) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| last_edited_before.0 | Last edited before {search} | _None - show all_ | search (date) |
2024-10-15 17:16:39 +02:00
2025-09-24 15:50:24 +02:00
| id | Question | Attributes | Fields |
2024-10-15 17:16:39 +02:00
-----|-----|-----|----- |
2025-09-24 15:50:24 +02:00
| last_edited_after.0 | Last edited after {search} | _None - show all_ | search (date) |
2024-10-15 17:16:39 +02:00
2025-01-28 15:42:34 +01:00
This document is autogenerated from [assets/layers/note/note.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/note/note.json)