topojson : fix geometry index logic

This commit is contained in:
artemp 2015-09-10 12:37:10 +02:00
parent e076640493
commit fc100be61e

View file

@ -220,8 +220,8 @@ void topojson_datasource::parse_topojson(T const& buffer)
extent_.expand_to_include(box); extent_.expand_to_include(box);
} }
values.emplace_back(box, geometry_index); values.emplace_back(box, geometry_index);
++geometry_index;
} }
++geometry_index;
} }
// packing algorithm // packing algorithm