From 11fabe0fcbe0be76a0b0191b53d110af16ead921 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 3 Oct 2013 15:32:07 +0100 Subject: [PATCH] == topojson == + use boost::variant<> for storing properties + parse properties as top level key/value pairs --- 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 027d5f2bf..383064722 100644 --- a/plugins/input/topojson/topojson_featureset.cpp +++ b/plugins/input/topojson/topojson_featureset.cpp @@ -103,7 +103,7 @@ struct feature_generator : public boost::static_visitor { for (auto const& p : *poly.props) { - feature->put_new(std::get<0>(p), mapnik::value(1LL)/*std::get<1>(p)*/); + feature->put_new(std::get<0>(p), mapnik::value(1LL)/*std::get<1>(p)*/); // TODO } } return feature;