geojson - fix brackets blues

This commit is contained in:
artemp 2015-03-12 14:53:47 +01:00
parent f787137166
commit b823d6dc34

View file

@ -99,9 +99,9 @@ geometry_generator_grammar<OutputIterator, Geometry>::geometry_generator_grammar
; ;
multi_point_coord = linestring_coord.alias() multi_point_coord = linestring_coord.alias()
; ;
multi_linestring_coord = linestring_coord % lit(',') multi_linestring_coord = (lit('[') << linestring_coord << lit(']')) % lit(',')
; ;
multi_polygon_coord = polygon_coord % lit(',') multi_polygon_coord = (lit('[') << polygon_coord << lit(']')) % lit(',')
; ;
geometries = geometry % lit(',') geometries = geometry % lit(',')
; ;