Giter VIP home page Giter VIP logo

Comments (5)

pietervdvn avatar pietervdvn commented on June 5, 2024

This can be done with lifecycle prefixes and is layer-implementable

from mapcomplete.

pietervdvn avatar pietervdvn commented on June 5, 2024

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.

joostschouppe avatar joostschouppe commented on June 5, 2024

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.

pietervdvn avatar pietervdvn commented on June 5, 2024

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:

  1. The feature must not be part of way (if the feature is a node)
  2. The feature must not be part of a relation
  3. 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).
  4. Maybe a small changeset message must be asked as well, aka the reason for deletion
  5. 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.

pietervdvn avatar pietervdvn commented on June 5, 2024

This is implemented in a way that should prevent user errors as much as possible

from mapcomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.