From cc9f23c4708e56c4422177b56618517ead9cb872 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 28 Nov 2016 18:38:04 +0100 Subject: [PATCH] allow empty "properties" --- include/mapnik/json/feature_grammar_x3_def.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/json/feature_grammar_x3_def.hpp b/include/mapnik/json/feature_grammar_x3_def.hpp index e5dcf9f7c..1f332d19a 100644 --- a/include/mapnik/json/feature_grammar_x3_def.hpp +++ b/include/mapnik/json/feature_grammar_x3_def.hpp @@ -270,7 +270,7 @@ auto const feature_part_def = feature_type | (lit("\"geometry\"") > lit(':') > lit('{') > geometry_tuple[assign_geometry] > lit('}')) | - (lit("\"properties\"") > lit(':') > lit('{') > properties > lit('}')) + (lit("\"properties\"") > lit(':') > lit('{') > -properties > lit('}')) | omit[geojson_string] > lit(':') > omit[value] ;