fix to_geojson polygon output after bug introduced in merge 76f111cc97 - closes #2019

This commit is contained in:
Dane Springmeyer 2013-09-23 12:16:39 -07:00
parent 63f97fa4aa
commit 81650e59c1

View file

@ -233,8 +233,8 @@ struct geometry_generator_grammar :
<< karma::string[ if_ (_r1 > 1) [_1 = "],["]
.else_[_1 = '[' ]]
|
&uint_(mapnik::SEG_LINETO))
<< lit(',')
&uint_(mapnik::SEG_LINETO)
<< lit(','))
<< lit('[') << coord_type
<< lit(',')
<< coord_type << lit(']')