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

customize area of interest (e.g. by bbox) #13

Open
Haikuch opened this issue Sep 3, 2016 · 7 comments
Open

customize area of interest (e.g. by bbox) #13

Haikuch opened this issue Sep 3, 2016 · 7 comments

Comments

@Haikuch
Copy link

Haikuch commented Sep 3, 2016

would love to see the tag history within a specific area

@tyrasd tyrasd changed the title enable bbox customize area of interest (e.g. by bbox) Sep 3, 2016
@tyrasd
Copy link
Owner

tyrasd commented Sep 3, 2016

Thanks for the suggestion, but I have to admit that this would actually be a much harder task than what this tool currently can perform: It takes a full-history dump and does a preprocessing step to make the taghistory queries fast. This step would have to be repeated for each custom area/bbox after cutting out the respective region from the history-planet using a tool like osm-history-splitter. Using that approach, one could set up a custom taghistory instance e.g. for a specific country. But this approach wouldn't at all scale to really custom bboxes.

Some ideas that may worth investigating:

  • make many smaller taghistory databases for (for example) all z10 tiles -> aggregate custom bboxes and/or lower zoom levels by combining data from those tiles
  • create a (probably overpass-api like) backend database containing all object history geometries and perform taghistory-queries on that one

@Haikuch
Copy link
Author

Haikuch commented Sep 4, 2016

Yes I already imagined that this would be hard to work out. But preprocessing the countries would help a lot already. Maybe I will try to set up something for some countries.

@tyrasd
Copy link
Owner

tyrasd commented Sep 4, 2016

Maybe I will try to set up something for some countries.

Cool. I have to admit that the code in https://github.com/tyrasd/taghistory/tree/master/backend still lacks documentation and makefiles / build scripts. I'll get back to you as soon as I find the time to finish it up!

@smartm0use
Copy link

Hi, what about get a specific country OSM database and then run your application on it?

@tyrasd
Copy link
Owner

tyrasd commented Apr 13, 2019

Sorry for the long silence here.

create a (probably overpass-api like) backend database containing all object history geometries and perform taghistory-queries on that one

Me and my colleagues at @GIScience have been (and are still) busy working on a solution for this. Take a look at https://ohsome.org/apps/dashboard/ (an API is also available at https://api.ohsome.org). Parts of the code are already open source (https://github.com/giscience/oshdb, more information about that are in https://doi.org/10.1186/s40965-019-0061-3), the rest will follow in the near future. I'll keep you updated.

@Klumbumbus
Copy link

Take a look at https://ohsome.org/apps/dashboard/

Wow, this looks great!

@smartm0use
Copy link

smartm0use commented Apr 15, 2019

Great, thank you very much! The new project seems to do what I was looking for.
Keep up the good work ;)

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

No branches or pull requests

4 participants