osmoscope / osmoscope-ui

An OpenStreetMap Quality Assurance Tool - User Interface
https://osmoscope.openstreetmap.de/
GNU General Public License v3.0
32 stars 8 forks source link

Hiding features #4

Open joto opened 5 years ago

joto commented 5 years ago

It would be nice to allow hiding of features in the overlays. A user who systematically wants to work through some overlay, could hide the features that have been fixed allowing the use of the site as a to-do-list.

It is not intended to send this information to the server in any way. Something like that would be much more difficult, the server would have to update its database, generate new tiles, incorporate this information when updating from new OSM data etc. Instead this would only store a tuple (layer_url, feature_id) in the web browsers local store and suppress displaying features in this database.

joto commented 5 years ago

We could allow the server to optionally set a URL of an API end-point that allows sending "problem solved" or "false positive" messages to the server. But lets first see whether any servers actually would implement this...

joto commented 5 years ago

This would be needed for http://brouter.de/osmoscope/ from @abrensch .

I could imagine a solution like this:

We still need to figure out how to influence displaying of the feature on the map. Does Osmoscope just hide the object (or display it in a different color or so) or does it have to re-load the data source somehow to get updated data.