Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/Data Request: changeset #19

Open
pyrog opened this issue Aug 1, 2020 · 2 comments
Open

Feature/Data Request: changeset #19

pyrog opened this issue Aug 1, 2020 · 2 comments

Comments

@pyrog
Copy link

pyrog commented Aug 1, 2020

How a changeset could be stored

Example with changeset #88816015

osmchangeset:88816015  osmm:type           'c'
osmchangeset:88816015  osmt:source         'Bing'
osmchangeset:88816015  osmt:created_by     'JOSM/1.5 (16731 fr)'
osmchangeset:88816015  osmt:comment        'Update movie theater — Briançon'
osmchangeset:88816015  osmm:has            osmnode:7775570049  # changeset contains node #7775570049
osmchangeset:88816015  osmnode:7775570049  'create'            # node #7775570049 was created

Example get all editors used in OSM.

SELECT ?editor (COUNT(?editor) AS ?count) WHERE {
  ?id osmm: type 'c' ;
      osmt:created_by ?editor  .
}
GROUP BY ?name
ORDER BY DESC(?count) ?name
@1ec5
Copy link
Member

1ec5 commented Aug 2, 2020

Storing changeset metadata would make Sophox a convenient and much more performant alternative to OSMCha for certain use cases, such as determining how many people contributed to a tasking manager project over time. Storing changeset contents sounds more challenging, but it allow for even more in-depth queries. For example, these import cleanup queries could verify the assumptions it currently makes about what came before a certain bot edit.

@1ec5
Copy link
Member

1ec5 commented Aug 6, 2020

Every changeset includes a bounding box as metadata, so it would become possible to visualize the distribution of changeset bbox sizes (hat tip to @b-jazz).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants