+ json-generator : don't output coordinates from SEG_CLOSE command
This commit is contained in:
parent
ae9b518618
commit
d215c09762
1 changed files with 4 additions and 1 deletions
|
@ -184,7 +184,10 @@ struct geometry_generator_grammar :
|
|||
|
||||
polygon_coord %= ( &uint_(mapnik::SEG_MOVETO) << eps[_r1 += 1]
|
||||
<< karma::string[ if_ (_r1 > 1) [_1 = "],["]
|
||||
.else_[_1 = '[' ]] | &uint_ << lit(','))
|
||||
.else_[_1 = '[' ]]
|
||||
|
|
||||
&uint_(mapnik::SEG_LINETO))
|
||||
<< lit(',')
|
||||
<< lit('[') << coord_type
|
||||
<< lit(',')
|
||||
<< coord_type << lit(']')
|
||||
|
|
Loading…
Add table
Reference in a new issue