diff --git a/include/mapnik/attribute_collector.hpp b/include/mapnik/attribute_collector.hpp index 644360268..7a7de3fae 100644 --- a/include/mapnik/attribute_collector.hpp +++ b/include/mapnik/attribute_collector.hpp @@ -99,6 +99,14 @@ struct symbolizer_attributes : public boost::static_visitor<> expression_attributes f_attr(names_); boost::apply_visitor(f_attr,*name_expr); } + + expression_ptr const& orientation_expr = sym.get_orientation(); + if (orientation_expr) + { + expression_attributes f_attr(names_); + boost::apply_visitor(f_attr,*orientation_expr); + } + } void operator () (point_symbolizer const& sym)