summaryrefslogtreecommitdiff
path: root/tagstats
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-13 09:22:28 +0200
committerJochen Topf <jochen@topf.org>2014-05-13 09:22:28 +0200
commitbc1f23896d26396b8a2df500be771da06b8e203d (patch)
treef648ebba77e4116c34909a00b453e0972834687b /tagstats
parentd48106e7f8c20119139dff01b11e8aff2a7f4425 (diff)
downloadtaginfo-bc1f23896d26396b8a2df500be771da06b8e203d.tar
taginfo-bc1f23896d26396b8a2df500be771da06b8e203d.tar.gz
Tagstat fixes for recent changes.
Diffstat (limited to 'tagstats')
-rw-r--r--tagstats/tagstats.cpp9
-rw-r--r--tagstats/tagstats_handler.hpp5
2 files changed, 7 insertions, 7 deletions
diff --git a/tagstats/tagstats.cpp b/tagstats/tagstats.cpp
index 41b05ee..35a3c55 100644
--- a/tagstats/tagstats.cpp
+++ b/tagstats/tagstats.cpp
@@ -63,7 +63,8 @@ void print_help() {
<< " -m, --min-tag-combination-count=N Tag combinations not appearing this often\n" \
<< " are not written to database\n";
#endif // TAGSTATS_COUNT_TAG_COMBINATIONS
- std::cout << " -R, --relation-types=FILENAME File with relation types we are interested in\n" \
+ std::cout << " -M, --map-tags=FILENAME File with tags we want maps for\n" \
+ << " -R, --relation-types=FILENAME File with relation types we are interested in\n" \
<< " -t, --top=NUMBER Top of bounding box for distribution images\n" \
<< " -r, --right=NUMBER Right of bounding box for distribution images\n" \
<< " -b, --bottom=NUMBER Bottom of bounding box for distribution images\n" \
@@ -125,13 +126,13 @@ int main(int argc, char *argv[]) {
case 'T':
tags_list = optarg;
break;
- case 'M':
- map_tags_list = optarg;
- break;
case 'm':
min_tag_combination_count = atoi(optarg);
break;
#endif // TAGSTATS_COUNT_TAG_COMBINATIONS
+ case 'M':
+ map_tags_list = optarg;
+ break;
case 'R':
relation_type_list = optarg;
break;
diff --git a/tagstats/tagstats_handler.hpp b/tagstats/tagstats_handler.hpp
index 20faf27..a5a9feb 100644
--- a/tagstats/tagstats_handler.hpp
+++ b/tagstats/tagstats_handler.hpp
@@ -366,7 +366,7 @@ class TagStatsHandler : public Osmium::Handler::Base {
}
std::cerr << "gridcells_all: " << GeoDistribution::count_all_set_cells() << std::endl;
- std::cerr << "sum of location image sizes: " << sum_size << " bytes\n";
+ std::cerr << "sum of key location image sizes: " << sum_size << " bytes\n";
m_database.commit();
}
@@ -404,8 +404,7 @@ class TagStatsHandler : public Osmium::Handler::Base {
}
}
- std::cerr << "gridcells_all: " << GeoDistribution::count_all_set_cells() << std::endl;
- std::cerr << "sum of location image sizes: " << sum_size << " bytes\n";
+ std::cerr << "sum of tag location image sizes: " << sum_size << " bytes\n";
m_database.commit();
}