From 46246fdbf65c426dfa82b545eb2f1baadcf3fc9d Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 9 May 2015 06:07:16 -0700 Subject: [PATCH] ensure topojson plugin id starts at 1 for consistency #753 --- plugins/input/topojson/topojson_featureset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/input/topojson/topojson_featureset.cpp b/plugins/input/topojson/topojson_featureset.cpp index 8626de960..4bdcfd522 100644 --- a/plugins/input/topojson/topojson_featureset.cpp +++ b/plugins/input/topojson/topojson_featureset.cpp @@ -339,7 +339,7 @@ topojson_featureset::topojson_featureset(mapnik::topojson::topology const& topo, index_array_(std::move(index_array)), index_itr_(index_array_.begin()), index_end_(index_array_.end()), - feature_id_ (0) {} + feature_id_(1) {} topojson_featureset::~topojson_featureset() {}