openstreetmap-ng
openstreetmap-ng copied to clipboard
Automatic note closing on changeset close
trafficstars
I thought of an idea, some editors indicate which notes have been closed during the editing process:
However, closing a note before uploading the changes is not practically correct and may introduce confusion.
- Let's introduce a special changeset tagging closes:note that will automatically close the given notes whenever that changeset is closed.
- Format is similar to closed:note: numeric IDs separated by ;.
- By default, the changeset's comment is used as the closing message on the notes (if provided).
- It is possible to provide alternate comment for all notes via closes:note:comment.
- Individual note comments can be set using closes:note:ID:comment.
- If no comment is provided on the changeset, or in the override tagging, the notes are closed without a message.
- In a case the note is already closed, do nothing.
- Testing would be nice but we can do that later (outside of the scope of the bounty).
noteSolver plugin for JOSM could potentially use such tags: https://github.com/kmpoppe/noteSolver
noteSolver plugin for JOSM could potentially use such tags: https://github.com/kmpoppe/noteSolver
It's a good idea to associate changeset with the note closing messages. We will do that in a separate issue and likely store the association info in the db.