better rules names
This commit is contained in:
parent
41009bfeb3
commit
5990eecec5
2 changed files with 4 additions and 4 deletions
|
@ -113,8 +113,8 @@ feature_grammar<Iterator,FeatureType,ErrorHandler>::feature_grammar(mapnik::tran
|
|||
attribute_value %= json_.number | json_.string_ ;
|
||||
|
||||
feature.name("Feature");
|
||||
feature_type.name("Feature Type");
|
||||
properties.name("Properties");
|
||||
feature_type.name("type");
|
||||
properties.name("properties");
|
||||
attributes.name("Attributes");
|
||||
attribute_value.name("Attribute Value");
|
||||
|
||||
|
|
|
@ -84,8 +84,8 @@ geometry_grammar<Iterator, ErrorHandler>::geometry_grammar()
|
|||
// give some rules names
|
||||
geometry.name("Geometry");
|
||||
geometry_collection.name("GeometryCollection");
|
||||
geometry_type_dispatch.name("Geometry type");
|
||||
coordinates.name("Coordinates");
|
||||
geometry_type_dispatch.name("type");
|
||||
coordinates.name("coordinates");
|
||||
// error handler
|
||||
on_error<fail>(start, error_handler(_1, _2, _3, _4));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue