diff --git a/src/load_map.cpp b/src/load_map.cpp index 36de527d2..664d40e1b 100644 --- a/src/load_map.cpp +++ b/src/load_map.cpp @@ -921,6 +921,7 @@ void map_parser::parse_point_symbolizer(rule & rule, xml_node const & sym) optional allow_overlap = sym.get_opt_attr("allow-overlap"); optional ignore_placement = sym.get_opt_attr("ignore-placement"); optional opacity = sym.get_opt_attr("opacity"); + optional image_transform_wkt = sym.get_opt_attr("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 image_transform_wkt = sym.get_opt_attr("transform"); if (image_transform_wkt) { mapnik::transform_list_ptr tl = boost::make_shared();