load_map: always parse transform so that xml warning keep working
This commit is contained in:
parent
d6c59d96ec
commit
e94b58f678
1 changed files with 1 additions and 1 deletions
|
@ -866,6 +866,7 @@ void map_parser::parse_point_symbolizer(rule & rule, xml_node const & node)
|
||||||
set_symbolizer_property<point_symbolizer,boolean_type>(sym, keys::ignore_placement, node);
|
set_symbolizer_property<point_symbolizer,boolean_type>(sym, keys::ignore_placement, node);
|
||||||
// point placement
|
// point placement
|
||||||
set_symbolizer_property<point_symbolizer,point_placement_enum>(sym, keys::point_placement_type, node);
|
set_symbolizer_property<point_symbolizer,point_placement_enum>(sym, keys::point_placement_type, node);
|
||||||
|
set_symbolizer_property<symbolizer_base, transform_type>(sym, keys::image_transform, node);
|
||||||
if (file && !file->empty())
|
if (file && !file->empty())
|
||||||
{
|
{
|
||||||
if(base)
|
if(base)
|
||||||
|
@ -881,7 +882,6 @@ void map_parser::parse_point_symbolizer(rule & rule, xml_node const & node)
|
||||||
std::string filename = *file;
|
std::string filename = *file;
|
||||||
ensure_exists(filename);
|
ensure_exists(filename);
|
||||||
put(sym, keys::file, parse_path(filename));
|
put(sym, keys::file, parse_path(filename));
|
||||||
set_symbolizer_property<symbolizer_base, transform_type>(sym, keys::image_transform, node);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rule.append(std::move(sym));
|
rule.append(std::move(sym));
|
||||||
|
|
Loading…
Reference in a new issue