diff --git a/bindings/python/mapnik_geometry.cpp b/bindings/python/mapnik_geometry.cpp index bf90e167a..1a949c6aa 100644 --- a/bindings/python/mapnik_geometry.cpp +++ b/bindings/python/mapnik_geometry.cpp @@ -234,11 +234,11 @@ std::string to_svg( geometry_type const& geom) bool result = mapnik::util::to_svg(svg,geom); if (!result) { - throw std::runtime_error("Generate WKT failed"); + throw std::runtime_error("Generate SVG failed"); } return svg; #else - throw std::runtime_error("mapnik::to_wkt() requires at least boost 1.47 while your build was compiled against boost " + throw std::runtime_error("mapnik::to_svg() requires at least boost 1.47 while your build was compiled against boost " + boost_version()); #endif }