fix transform serialization for markers_symbolizer

This commit is contained in:
Artem Pavlenko 2012-05-01 16:52:19 +01:00
parent 77dfac5622
commit 28b02737cd

View file

@ -307,10 +307,10 @@ public:
{ {
set_attr( sym_node, "placement", sym.get_marker_placement() ); set_attr( sym_node, "placement", sym.get_marker_placement() );
} }
std::string tr_str = sym.get_transform_string(); std::string tr_str = sym.get_image_transform_string();
if (tr_str != "matrix(1, 0, 0, 1, 0, 0)" || explicit_defaults_ ) if (tr_str != "matrix(1, 0, 0, 1, 0, 0)" || explicit_defaults_ )
{ {
set_attr( sym_node, "transform", tr_str ); set_attr( sym_node, "image-transform", tr_str );
} }
const stroke & strk = sym.get_stroke(); const stroke & strk = sym.get_stroke();