fix #2090
This commit is contained in:
parent
199b550e98
commit
a0d9977e5e
1 changed files with 1 additions and 1 deletions
|
@ -921,6 +921,7 @@ void map_parser::parse_point_symbolizer(rule & rule, xml_node const & sym)
|
|||
optional<boolean> allow_overlap = sym.get_opt_attr<boolean>("allow-overlap");
|
||||
optional<boolean> ignore_placement = sym.get_opt_attr<boolean>("ignore-placement");
|
||||
optional<float> opacity = sym.get_opt_attr<float>("opacity");
|
||||
optional<std::string> image_transform_wkt = sym.get_opt_attr<std::string>("transform");
|
||||
|
||||
point_symbolizer symbol;
|
||||
if (allow_overlap)
|
||||
|
@ -955,7 +956,6 @@ void map_parser::parse_point_symbolizer(rule & rule, xml_node const & sym)
|
|||
ensure_exists(filename);
|
||||
symbol.set_filename( parse_path(filename, sym.get_tree().path_expr_grammar) );
|
||||
|
||||
optional<std::string> image_transform_wkt = sym.get_opt_attr<std::string>("transform");
|
||||
if (image_transform_wkt)
|
||||
{
|
||||
mapnik::transform_list_ptr tl = boost::make_shared<mapnik::transform_list>();
|
||||
|
|
Loading…
Reference in a new issue