osm-fr / osmose-frontend

Part of osmose that shows results on the website http://osmose.openstreetmap.fr
GNU General Public License v3.0
41 stars 38 forks source link

improvement: speed up changes with repetitive changes #172

Open Bibi56 opened 4 years ago

Bibi56 commented 4 years ago

Some linear features split into several ways have usually similar errors and therefore similar corrections along the line. For instance: {0.key}={0.value} without {0.value}:railway railway=abandoned without abandoned:railway (same for razed, disused...). Visible here.

Here the solution is usually to add abandoned:railway=rail along the whole path. So a button "repeat on next", selecting the next chunk and editing the same way would speedup the correction. As we don't validate, the end user can cancel the modification (avoiding a blind change).

You could also pre-fill the first edit as you can add abandoned:railway=, letting the user add here rail. BTW, for a linear railway, it's probably rail, for a closed way a station. Adding a button "add abandoned:railway=rail" would be another compatible way to speed up.

Last but not least, in some case the initial tag (abandoned:railway here) is false, accepting a paste of several lines, like razed:railway=rail railway=razed would make Osmose (even) more efficient.

opk12 commented 4 months ago

Maybe this should be allowed for specific warnings, i.e. opt-in instead of opt-out, otherwise it can be easily abused to mass-fix without appropriate thought.