From 97a796ba0e5e7e2e3122bf5553c5bb99859b4e35 Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 5 May 2017 16:29:33 +0200 Subject: [PATCH] fix `polygon_coord` rule to generate required enclosing brackets. --- include/mapnik/wkt/wkt_generator_grammar_impl.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mapnik/wkt/wkt_generator_grammar_impl.hpp b/include/mapnik/wkt/wkt_generator_grammar_impl.hpp index 7e63422c8..c3fa36b10 100644 --- a/include/mapnik/wkt/wkt_generator_grammar_impl.hpp +++ b/include/mapnik/wkt/wkt_generator_grammar_impl.hpp @@ -77,12 +77,12 @@ wkt_generator_grammar::wkt_generator_grammar() ; linear_ring_coord = lit('(') << point_coord % lit(',') << lit(')');//linestring_coord.alias() + + + polygon_coord = lit('(') << linear_ring_coord % lit(',') << lit(')'); ; - polygon_coord = linear_ring_coord % lit(',') - ; - - multi_point_coord = lit('(') << point_coord % lit(',') << lit(')');//linestring_coord.alias() + multi_point_coord = lit('(') << point_coord % lit(',') << lit(')') //linestring_coord.alias() ; multi_linestring_coord = lit("(") << linestring_coord % lit(',') << lit(")")