colouring-cities / colouring-britain

Developed out of the Colouring London prototype. Collecting data on Britain's buildings and testing new core features
https://colouringbritain.org/
GNU General Public License v3.0
10 stars 2 forks source link

API: Retrieve all edits by user #200

Open dominijk opened 5 years ago

dominijk commented 5 years ago

I can see that as a user looking to store building data it would be useful to recover all my edits/inputs. Would this be possible to retrieve even if someone else has updated?

mz8i commented 5 years ago

I'd say it would be fairly easy. In terms of precise functionality, is this supposed to just retrieve the list of buildings edited by a certain user, or also the precise value of the edition, rather than the latest state of the building?

If the latter, then it would be fairly easy to say "on this day, you edited this building and changed those fields".

What would be more difficult is to give the state of all the building's attributes before/after that user's edit because we would need to go through all historical edits of the building and reconstruct the full state at that time. But I don't think such detailed view would be particularly useful anyway.

dominijk commented 5 years ago

A bit more the former. The use case is I want to use it as a personal data store which I’m happy to share but if I think my data is accurate but someone changes it and I’d like to option to access my original data possibly along side crowd updated.

On 7 Oct 2019, at 11:51, mz8i notifications@github.com wrote:

I'd say it would be fairly easy. In terms of precise functionality, is this supposed to just retrieve the list of buildings edited by a certain user, or also the precise value of the edition, rather than the latest state of the building?

If the latter, then it would be fairly easy to say "on this day, you edited this building and changed those fields".

What would be more difficult is to give the state of all the building's attributes before/after that user's edit because we would need to go through all historical edits of the building and reconstruct the full state at that time. But I don't think such detailed view would be particularly useful anyway.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mz8i commented 5 years ago

If I understand correctly, I am not sure if we should support such a use case - I think if someone uses the system, they agree with the reality that the data might be overwritten at some point by other users.

Presenting the user with a list of buildings they have edited seems quite useful. On the other hand, letting the user access "their" version of the building data, despite others' edits, seems to serve quite a niche use case. But maybe the rest of the team would think otherwise?

tomalrussell commented 5 years ago

I think the basic use case is covered by the edit history download - if I want to see the data I've added, I can filter the edit history to find my own contributions.

I think any kind of user-interface around this would be neat but relatively low priority - could be modelled on OSM user history of 'My Edits' https://www.openstreetmap.org/user/<username>/history

dominijk commented 5 years ago

I think a combination of the above cover it, worth surfacing this in the docs. My original use case was that as an architect doing a site analysis it was quite common to collect data on buildings surrounding a site but typically this data is stored in layers in Illustrator / CAD file. Tapping into that research is one of the case studies we can illustrate.

polly64 commented 9 months ago

can you close?