[//]: # (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
 - <img src='../warning.svg' height='1rem'/>

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)
4. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
  - [conversation](#conversation)
  - [add_image](#add_image)
  - [comment](#comment)
  - [nearby-images](#nearby-images)
  - [report-contributor](#report-contributor)
  - [report-note](#report-note)
  - [leftover-questions](#leftover-questions)
  - [spacer](#spacer)
  - [lod](#lod)
5. [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

## Featureview elements and TagRenderings

| id | question | labels | freeform key |
-----|-----|-----|----- |
| [conversation](#conversation)  | _{visualize_note_comments()}_ |  | _Multiple choice only_ |
| [add_image](#add_image)  | _{add_image_to_note()}_ |  | _Multiple choice only_ |
| [comment](#comment)  | _{add_note_comment()}_ |  | _Multiple choice only_ |
| [nearby-images](#nearby-images)  | _<h3>Nearby images</h3>The pictures below are nearby geotagged images and might be helpful to handle this note.{nearby_images(open,yes)}_ |  | _Multiple choice only_ |
| [report-contributor](#report-contributor)  | _<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>_ |  | _Multiple choice only_ |
| [report-note](#report-note)  | _<a href='https://www.openstreetmap.org/reports/new?reportable_id={id}&reportable_type=Note' target='_blank'>Report this note as spam or inappropriate</a>_ |  | _Multiple choice only_ |
| [leftover-questions](#leftover-questions)  | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
| [spacer](#spacer)  | _<div class='m-4'/>_ |  | _Multiple choice only_ |
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |

### conversation
_This tagrendering has no question and is thus read-only_

*{visualize_note_comments()}*

### add_image
_This tagrendering has no question and is thus read-only_

*{add_image_to_note()}*

### comment
_This tagrendering has no question and is thus read-only_

*{add_note_comment()}*

### nearby-images
_This tagrendering has no question and is thus read-only_

*<h3>Nearby images</h3>The pictures below are nearby geotagged images and might be helpful to handle this note.{nearby_images(open,yes)}*

### report-contributor
_This tagrendering has no question and is thus read-only_

*<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>*

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_

*<a href='https://www.openstreetmap.org/reports/new?reportable_id={id}&reportable_type=Note' target='_blank'>Report this note as spam or inappropriate</a>*

### leftover-questions
_This tagrendering has no question and is thus read-only_

*{questions( ,hidden)}*

This tagrendering has labels `ignore-docs` `added_by_default`

### spacer
_This tagrendering has no question and is thus read-only_

*<div class='m-4'/>*

### lod
_This tagrendering has no question and is thus read-only_

*{linked_data_from_website()}*

This tagrendering has labels `added_by_default`

## Filters

| 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~.+ |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| search.0 | Should mention {search} in the first comment |  | search (regex) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| search_any.0 | Should mention {search} in any comment |  | search (regex) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| not.0 | Should <b>not</b> mention {search} in the first comment |  | search (regex) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| search_not_any.0 | Should <b>not</b> mention {search} in <b>any</b> comment |  | search (regex) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| opened_by.0 | Opened by contributor {search} |  | search (regex) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| not_opened_by.0 | <b>Not</b> opened by contributor {search} |  | search (regex) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| edited_by_any.0 | Edited or commented on by any user with name {search} |  | search (regex) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| last_edited_by.0 | Last edited by contributor {search} |  | search (regex) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| not_last_edited_by.0 | Not edited as last by {search} |  | search (regex) |

| 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 | fields |
-----|-----|-----|----- |
| last_edited_before.0 | Last edited before {search} |  | search (date) |

| id | question | osmTags | fields |
-----|-----|-----|----- |
| last_edited_after.0 | Last edited after {search} |  | search (date) |



This document is autogenerated from [assets/layers/note/note.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/note/note.json)
