mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
extract_bounding_box_grammar - make features optional / ref #3463
This commit is contained in:
parent
e08c3c1a20
commit
abb4271bea
@ -110,7 +110,7 @@ extract_bounding_box_grammar<Iterator, Boxes, ErrorHandler>::extract_bounding_bo
|
||||
>> *((json.key_value - lit("\"features\"")) >> lit(','))
|
||||
>> lit("\"features\"")
|
||||
>> lit(':'))
|
||||
>> lit('[') >> (feature(_r1,_a) % lit(',')) >> lit(']')
|
||||
>> lit('[') >> -(feature(_r1,_a) % lit(',')) >> lit(']')
|
||||
;
|
||||
|
||||
feature = raw[lit('{')[_a = 1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user