[Taginfo-dev] Tagstats autoconfiguration

Jochen Topf jochen at remote.org
Sat Mar 18 09:06:12 UTC 2017


On Sun, Feb 26, 2017 at 10:37:50PM +0100, Jochen Topf wrote:
> Today I removed the last configuration setting needed at compile time
> for the tagstats binary. Tagstats does all the counting on the planet
> file and a lot more. It generates the map images and to save RAM it only
> uses 2 (by default) or 4 bytes per location instead of the 8 usually
> needed for an OSM location. This was configured using the
> tagstats.geodistribution_int setting read at compile time. This is now
> not necessary any more. The setting will be derived at runtime from the
> geodistribution.width and height settings.
> 
> I have tested this with the planet file (which uses the default setting
> of 2 bytes) but not for extracts (which often use 4 bytes, because they
> have less data anyway, so using those 4 bytes is not a problem). Would
> be great of somebody can test this in their setup and tell us here
> whether it worked, before I recommend this version for general use.

This has been running for a while on the main taginfo site and on the
Irish taginfo server without problems. So I encourage everybody to
update their taginfo to the current master.

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



More information about the Taginfo-dev mailing list