mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
fix stderr
This commit is contained in:
parent
a46af76216
commit
ec68559d3d
@ -215,7 +215,16 @@ std::shared_ptr<mapnik::marker const> marker_cache::find(std::string const& uri,
|
||||
svg_path_adapter svg_path(stl_storage);
|
||||
svg_converter_type svg(svg_path, marker_path->attributes());
|
||||
svg_parser p(svg);
|
||||
p.parse(uri);
|
||||
|
||||
|
||||
if (!p.parse(uri))
|
||||
{
|
||||
for (auto const& msg : p.error_messages())
|
||||
{
|
||||
std::cerr << "SVG PARSING ERROR:\"" << msg << "\"" << std::endl;
|
||||
}
|
||||
return std::make_shared<mapnik::marker const>(mapnik::marker_null());
|
||||
}
|
||||
//svg.arrange_orientations();
|
||||
double lox,loy,hix,hiy;
|
||||
svg.bounding_rect(&lox, &loy, &hix, &hiy);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user