diff options
author | Jochen Topf <jochen@topf.org> | 2011-10-12 19:58:01 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2011-10-12 19:58:01 +0200 |
commit | 733ff28aed1b272a6d9e166475eb04b57bdabd85 (patch) | |
tree | e290e99ea5da4d7c967f74141473275ff1c18889 /tagstats/tagstats.cpp | |
parent | c4fe6f764a8ed74c4500993b5b62853c4bcdec4e (diff) | |
download | taginfo-733ff28aed1b272a6d9e166475eb04b57bdabd85.tar taginfo-733ff28aed1b272a6d9e166475eb04b57bdabd85.tar.gz |
cleanup
Diffstat (limited to 'tagstats/tagstats.cpp')
-rw-r--r-- | tagstats/tagstats.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tagstats/tagstats.cpp b/tagstats/tagstats.cpp index 4b27b9c..b474a62 100644 --- a/tagstats/tagstats.cpp +++ b/tagstats/tagstats.cpp @@ -111,8 +111,10 @@ int main(int argc, char *argv[]) { exit(1); } + GeoDistribution::set_dimensions(width, height); Osmium::OSMFile infile(argv[optind]); - TagStatsHandler handler(left, bottom, right, top, width, height); + MapToInt<rough_position_t> map_to_int(left, bottom, right, top, width, height); + TagStatsHandler handler(map_to_int); infile.read(handler); } |