diff options
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); } |