taghistory icon indicating copy to clipboard operation
taghistory copied to clipboard

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

Open Haikuch opened this issue 9 years ago • 7 comments

would love to see the tag history within a specific area

Haikuch avatar Sep 03 '16 10:09 Haikuch

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

tyrasd avatar Sep 03 '16 20:09 tyrasd

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.

Haikuch avatar Sep 04 '16 08:09 Haikuch

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!

tyrasd avatar Sep 04 '16 19:09 tyrasd

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

smartm0use avatar Feb 04 '19 10:02 smartm0use

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.

tyrasd avatar Apr 13 '19 19:04 tyrasd

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

Wow, this looks great!

Klumbumbus avatar Apr 13 '19 19:04 Klumbumbus

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

smartm0use avatar Apr 15 '19 09:04 smartm0use