[Taginfo-dev] Update on taginfo developments

Jochen Topf jochen at remote.org
Mon Nov 2 08:56:21 UTC 2020


Hi!

I have done various improvements to taginfo in the last months. In the
last days I deployed the biggest change: Taginfo can now create stats
from OSM history files. You can see this in action on keys and some
tags: https://taginfo.openstreetmap.org/keys/place#chronology

I'll write up a blog post about more of the details soon, but wanted to
give you a heads-up here.

If you are running your own taginfo instance, creating history stats is
optional. If the "chronology" source is neither in sources.download nor
sources.create in your config file, the chronology tabs on the key/tag
pages are not shown. So it should be reasonable easy to run a site
without it. I haven't tested this well though, please report any
problems you might encounter.

I you do want to create history stats you need an OSM history file and
you need to update this daily. The stats are created by the new
taginfo-chronology program. To make things easier, I changed the
existing taginfo-stats program (which creates the stats from the current
OSM dump) so that it can also read the history file. So you only have to
keep one file up to date and don't need both the normal OSM dump and the
history dump. (The pyosmium-up-to-date program can keep the history file
up to date, but it currently has a bug that affects this. A new version
of pyosmium should soon be released which fixes that.)

Note that chronology of all keys is created but only for some tags, it
would take too much memory to do that. The main site generates the stats
for 200,000 keys and 80,000 tags in less then half an hour. This uses
the same mechanism/settings as the map that is also only generated for
some tags.

Jochen
-- 
Jochen Topf  jochen at remote.org  https://www.jochentopf.com/  +49-351-31778688



More information about the Taginfo-dev mailing list