mapcomplete/Docs/Layers/note.md

5.5 KiB

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

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
  2. Basic tags for this layer
  3. Supported attributes
  1. Filters

Themes using this layer

Basic tags for this layer

Elements must match the expression date_created~.+

Execute on overpass

Supported attributes

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

Nearby images

The pictures below are nearby geotagged images and might be helpful to handle this note.{nearby_images(open,)}

report-contributor

This tagrendering has no question and is thus read-only Report {_first_user} for spam or inappropriate messages

This tagrendering is only visible in the popup if the following condition is met: _opened_by_anonymous_user=false

report-note

This tagrendering has no question and is thus read-only Report this note as spam or inappropriate

leftover-questions

This tagrendering has no question and is thus read-only {questions( ,)}

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 not mention {search} in the first comment search (regex)
id question osmTags fields
search_not_any.0 Should not mention {search} in any comment search (regex)
id question osmTags fields
opened_by.0 Opened by contributor {search} search (regex)
id question osmTags fields
not_opened_by.0 Not 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