mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
Merge pull request #4178 from mapnik/issue-4177
`null` properties in `Feature` object
This commit is contained in:
commit
4fbf8a054f
@ -272,7 +272,7 @@ auto const feature_part_def = feature_type
|
||||
|
|
||||
(lit("\"geometry\"") > lit(':') > geometry_rule[assign_geometry])
|
||||
|
|
||||
(lit("\"properties\"") > lit(':') > lit('{') > -properties > lit('}'))
|
||||
(lit("\"properties\"") > lit(':') > ((lit('{') > -properties > lit('}')) | lit("null")))
|
||||
|
|
||||
(omit[geojson_string] > lit(':') > omit[value])
|
||||
;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user