GIScience / ohsome-now-stats-service

This is the REST service for the ohsomeNow stats.
https://stats.now.ohsome.org/api/
GNU Affero General Public License v3.0
4 stars 1 forks source link

Give additonal detail information on user (topic) stats endpoint #50

Closed ElJocho closed 8 months ago

ElJocho commented 9 months ago

Adjust the user stats endpoint and report on creations, deletions and modifications for topics.

This way (HOT Tasking Manager) users will hopefully not be as confused/unsatisfied by our current aggregated delta approach anymore. Adding more details will allow the HOT Tasking Manager to adjust their UI to break down the overall total numbers.

This is how the response could look like:

{
  "buildings":1806,
  "buildings_created":1816,
  "buildings_modified":55,
  "buildings_deleted":10,
  "roads":236.345,
  "roads_created":266.345,
  "roads_modified":10,
  "roads_deleted":40,
  "edits":3397,
  "changesets":291,
  "userId":996790
}

To be discussed:

What do users expect for roads_modified? Should this only consider edits which change the geometry of the road? What about tag changes to existing roads?

option 1:

option 2:

ElJocho commented 9 months ago

To continue working on this issue we will postpone the decision on if we want to report tag changes for length and area based "topics" and will in a first step only report on geometry changes.

mmerdes commented 9 months ago

was automatically closed by merging the PR => reopened again to finish