From fc100be61e1e68a4fd3062912ef8d7cc2e5c37c7 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 10 Sep 2015 12:37:10 +0200 Subject: [PATCH] topojson : fix geometry index logic --- plugins/input/topojson/topojson_datasource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/input/topojson/topojson_datasource.cpp b/plugins/input/topojson/topojson_datasource.cpp index 225a767a1..e86337ae4 100644 --- a/plugins/input/topojson/topojson_datasource.cpp +++ b/plugins/input/topojson/topojson_datasource.cpp @@ -220,8 +220,8 @@ void topojson_datasource::parse_topojson(T const& buffer) extent_.expand_to_include(box); } values.emplace_back(box, geometry_index); - ++geometry_index; } + ++geometry_index; } // packing algorithm