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

Allow charts like potm.osm.ch/superset/dashboard/31/ #303

Open
1 of 5 tasks
tordans opened this issue Jul 3, 2023 · 1 comment
Open
1 of 5 tasks

Allow charts like potm.osm.ch/superset/dashboard/31/ #303

tordans opened this issue Jul 3, 2023 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@tordans
Copy link

tordans commented Jul 3, 2023

Use Case Description

I would like to run https://potm.osm.ch/superset/dashboard/31/ for Berlin without having to setup all the stuff that https://github.com/sosm/osmhistorydb-ch runs manually.

I want to integrate those charts in a micro site that is focussed on specific dataset like drinking water, bicycle stands, parking lane tags and such.

Request Description


The idea of this issue is to be a kind of umbrella ticket to collect know how on this topic.

@tyrasd
Copy link
Member

tyrasd commented Jul 5, 2023

Provide Data for a chart on then number of OSM Changes for a given timeframe and tag

Yeah, that would be the /contributions/count endpoint, e.g. https://api.ohsome.org/v1/contributions/count?bboxes=12.944,52.299,13.824,52.742&filter=type:node%20and%20amenity=drinking_water&time=2010-01-01/2023-01-01/P1Y&format=csv

Provide Data for a chart on the number of OSM objects for a given tag over time […] Allow to filter by user-identifier

Independent from the GDPR topic, it is not clearly defined what exactly filtering by user-id would mean for a regular (i.e. non-contribution) aggregation endpoint: Is it filtering entities which have been a) created by the respective user, b) last edited by the user, c) edited at some point by the respective user, d) something else

//edit: FWIW, potm.osm.ch also flags this combination as incompatible:


Allow to filter by user-identifier

My usual answer would have been that in such cases you could fall back to the oshdb, starting with a small history extract (e.g. from geofabrik), converting it to the oshdb format, and running an OSHBD query on it using the OSMContributionView. But I don't think that would really make sense in your use case, as it sounds like a similar amount of effort as setting up an instance of osmhistorydb-ch.

@tyrasd tyrasd added the question Further information is requested label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants