better rules names

This commit is contained in:
artemp 2014-10-07 11:21:05 +01:00
parent 41009bfeb3
commit 5990eecec5
2 changed files with 4 additions and 4 deletions

View file

@ -113,8 +113,8 @@ feature_grammar<Iterator,FeatureType,ErrorHandler>::feature_grammar(mapnik::tran
attribute_value %= json_.number | json_.string_ ; attribute_value %= json_.number | json_.string_ ;
feature.name("Feature"); feature.name("Feature");
feature_type.name("Feature Type"); feature_type.name("type");
properties.name("Properties"); properties.name("properties");
attributes.name("Attributes"); attributes.name("Attributes");
attribute_value.name("Attribute Value"); attribute_value.name("Attribute Value");

View file

@ -84,8 +84,8 @@ geometry_grammar<Iterator, ErrorHandler>::geometry_grammar()
// give some rules names // give some rules names
geometry.name("Geometry"); geometry.name("Geometry");
geometry_collection.name("GeometryCollection"); geometry_collection.name("GeometryCollection");
geometry_type_dispatch.name("Geometry type"); geometry_type_dispatch.name("type");
coordinates.name("Coordinates"); coordinates.name("coordinates");
// error handler // error handler
on_error<fail>(start, error_handler(_1, _2, _3, _4)); on_error<fail>(start, error_handler(_1, _2, _3, _4));
} }