This commit is contained in:
Dane Springmeyer 2013-12-02 21:47:25 -08:00
parent 199b550e98
commit a0d9977e5e

View file

@ -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> allow_overlap = sym.get_opt_attr<boolean>("allow-overlap");
optional<boolean> ignore_placement = sym.get_opt_attr<boolean>("ignore-placement"); optional<boolean> ignore_placement = sym.get_opt_attr<boolean>("ignore-placement");
optional<float> opacity = sym.get_opt_attr<float>("opacity"); 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; point_symbolizer symbol;
if (allow_overlap) if (allow_overlap)
@ -955,7 +956,6 @@ void map_parser::parse_point_symbolizer(rule & rule, xml_node const & sym)
ensure_exists(filename); ensure_exists(filename);
symbol.set_filename( parse_path(filename, sym.get_tree().path_expr_grammar) ); 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) if (image_transform_wkt)
{ {
mapnik::transform_list_ptr tl = boost::make_shared<mapnik::transform_list>(); mapnik::transform_list_ptr tl = boost::make_shared<mapnik::transform_list>();