relax FeatureCollection grammar to allow arbitary key:value's
This commit is contained in:
parent
e31411bd21
commit
461c3dab18
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ struct feature_collection_grammar :
|
|||
start = feature_collection | feature_from_geometry(_val) | feature(_val)
|
||||
;
|
||||
|
||||
feature_collection = lit('{') >> (type | features) % lit(',') >> lit('}')
|
||||
feature_collection = lit('{') >> (type | features | json.key_value) % lit(',') >> lit('}')
|
||||
;
|
||||
|
||||
type = lit("\"type\"") >> lit(':') >> lit("\"FeatureCollection\"")
|
||||
|
|
Loading…
Reference in a new issue