Comments (5)
This can be done with lifecycle prefixes and is layer-implementable
from mapcomplete.
De feature om een POI of een feature te verwijderen - daar twijfel ik zelf ook wat aan. Een tussenoplossing kan zijn om enkel POI te verwijderen als je die eerst zelf hebt gemaakt én niemand anders een aanpassing heeft gemaakt. Wanneer de contributor dan wat vertrouwder is met OSM (aka een aantal changesets heeft, bv. 50 of zo), kunnen we de restrictie erafhalen dat de contributor alle POI kan verwijderen.
Daarnaast zou ik het ook laten afhangen van het thema en soort object of een POI verwijderd kan worden. We kunnen zo bv. zeggen dat fietspompen verwijderd mogen worden, maar fietswinkels niet.
Daarnaast ben ik er een beetje van overtuigd dat zij die technisch vaardig genoeg zijn, genoeg pointers naar OSM hebben om het daar aan te passen.
from mapcomplete.
Copied from #221 :
Mapcomplete should probably NOT actually delete objects. But it would be best if in all themes you can mark an object as "this thing really does not belong here".
Suggested solution:
add a generic "Validate/invalidate " to any popup
answer options
This place does not exist anymore > add a tag fixme='A MapComplete user says this place should be deleted'
This is really something else > prompt "Please describe what's wrong here" and add the text to fixme tag
I can confirm this place still exists > prompt "When did you verify this place?" to fill in survey:date
It would be best if these changes can be found easily. Suggestions:
flag them for review (changeset metadata)
add something to the changeset comment like, "fixme added"
from mapcomplete.
Requirements to delete objects:
Soft deletion
Mark as "disused:feature" and retag them and not show them anymore (this can be done by the theme)
Hard deletion
Hard deletion must be enabled with a special rendering by the theme, so that themes don't enable them by default.
Before deleting, the following requirements must be met:
- The feature must not be part of way (if the feature is a node)
- The feature must not be part of a relation
- The contributor must have enough experience to remove something, e.g. 50 or 100 changesets - or the contributor must have been the only contributor up till now (to allow them to remove testing points again).
- Maybe a small changeset message must be asked as well, aka the reason for deletion
- Style this and make this user friendly
Detecting deleted features
At last, features are cached in local storage. If the data is reloaded, we must be able to detect those features that are not returned anymore.
Features should also detect that they have been deleted when they are updated. (API gives an error code '410/gone' if deleted)
from mapcomplete.
This is implemented in a way that should prevent user errors as much as possible
from mapcomplete.
Related Issues (20)
- Advertising: Selecting shelter without advertising does not open object, blocks UI
- Doesn't load on iOS Safari HOT 6
- Opening hours not allowing free text anymore
- Studio: Duplicate question HOT 1
- Studio: Have the previously chosen option selected when editing HOT 3
- Studio: Create Theme ends in list of errors
- Studio: how to disable Adding Data? HOT 3
- Studio: Link Theme and Layers
- Studio: Unique URLs for Themes and Layers
- Studio: Update help text on presets HOT 3
- Property `enableImproveAccuraccy` is not allowed HOT 3
- Clarify the theme "Layers" UI HOT 1
- Add notice to Bus Routes theme: might take a bit to load
- Studio: One tab overwrites the other tab HOT 1
- Studio: "Bug: Region received empty list as configuration" – What should I do? HOT 1
- Studio: Some questions are not persisted HOT 3
- When entering multiple answers at once but only submitting them after, it clears them
- When osm object gets created: answers get cleared HOT 4
- Upgrade node to 18.x
- Linking to a osm feature (without lat,lng params) should center on that feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapcomplete.