Filter parsing: Allow numbers in the filter field name. This allows for shapefiles with columns like '1970'.
This commit is contained in:
parent
2ecd01e1e4
commit
cc91460a01
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,9 @@ For a complete change history, see the SVN log.
|
||||||
Current Version (0.6.0-dev, SVN trunk):
|
Current Version (0.6.0-dev, SVN trunk):
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- Filter parsing: Allow numbers in the filter field name.
|
||||||
|
This allows for shapefiles with columns like '1970'.
|
||||||
|
|
||||||
- Plugins: Added OGR driver for reading all OGR supported formats (kunitoki) (r836) (#170)
|
- Plugins: Added OGR driver for reading all OGR supported formats (kunitoki) (r836) (#170)
|
||||||
|
|
||||||
- Python: Made available the scale_denominator property from the map in c++ and python (r793)
|
- Python: Made available the scale_denominator property from the map in c++ and python (r793)
|
||||||
|
|
|
@ -422,7 +422,7 @@ namespace mapnik
|
||||||
[push_string<FeatureT>(self.exprs,self.tr)],
|
[push_string<FeatureT>(self.exprs,self.tr)],
|
||||||
L'\'');
|
L'\'');
|
||||||
|
|
||||||
property = L'[' >> ( (Letter | L'_' | L':')
|
property = L'[' >> ( (Letter | Digit | L'_' | L':')
|
||||||
>> *NameChar )[push_property<FeatureT>(self.exprs)] >> L']';
|
>> *NameChar )[push_property<FeatureT>(self.exprs)] >> L']';
|
||||||
|
|
||||||
literal = boolean | number | string_ | property;
|
literal = boolean | number | string_ | property;
|
||||||
|
|
Loading…
Reference in a new issue