relax FeatureCollection grammar to allow arbitary key:value's
This commit is contained in:
parent
3cc8fad956
commit
a6a3af02d9
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,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…
Add table
Reference in a new issue