summaryrefslogtreecommitdiff
path: root/tagstats/tagstats.cpp
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2011-10-15 23:00:38 +0200
committerJochen Topf <jochen@topf.org>2011-10-15 23:00:38 +0200
commitc9b9a1b03efa73e28fb8929272d464c1684e9d8f (patch)
tree16cd0ae926b07dbf377a55b386130e2774216340 /tagstats/tagstats.cpp
parent8d1d99e8e85e1796da25556fb5760fde875cfe68 (diff)
downloadtaginfo-c9b9a1b03efa73e28fb8929272d464c1684e9d8f.tar
taginfo-c9b9a1b03efa73e28fb8929272d464c1684e9d8f.tar.gz
Moved statistics handler over from Osmium
The statistics handler was kept in the Osmium distribution, but it makes more sense here.
Diffstat (limited to 'tagstats/tagstats.cpp')
-rw-r--r--tagstats/tagstats.cpp23
1 files changed, 22 insertions, 1 deletions
diff --git a/tagstats/tagstats.cpp b/tagstats/tagstats.cpp
index 8a6add7..95394a7 100644
--- a/tagstats/tagstats.cpp
+++ b/tagstats/tagstats.cpp
@@ -1,9 +1,30 @@
+/*
+
+Copyright 2011 Jochen Topf <jochen@topf.org> and others (see README).
+
+This file is part of Taginfo (https://github.com/joto/taginfo).
+
+Osmium is free software: you can redistribute it and/or modify it under the
+terms of the GNU Lesser General Public License or (at your option) the GNU
+General Public License as published by the Free Software Foundation, either
+version 3 of the Licenses, or (at your option) any later version.
+
+Osmium is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU Lesser General Public License and the GNU
+General Public License for more details.
+
+You should have received a copy of the Licenses along with Osmium. If not, see
+<http://www.gnu.org/licenses/>.
+
+*/
+
#include <getopt.h>
#include <osmium.hpp>
-#include <osmium/handler/statistics.hpp>
+#include "statistics_handler.hpp"
/**
* Positions are stored in this type of integer for the distribution images.