topojson : allow individual geometries not just geometry collections

This commit is contained in:
artemp 2013-10-29 10:55:13 +00:00
parent 1f4160f0f0
commit fe1c88f4a5

View file

@ -116,7 +116,7 @@ topojson_grammar<Iterator>::topojson_grammar()
>> lit('{')
>> -((omit[string_]
>> lit(':')
>> geometry_collection) % lit(','))
>> (geometry_collection | geometry)) % lit(','))
>> lit('}')
;