From b0587a01c0e5af78eb83057e9d49cd8a429d11d9 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 26 Mar 2015 18:13:44 +0100 Subject: [PATCH] correct line_string/multi_line_string --- include/mapnik/geometry_correct.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/mapnik/geometry_correct.hpp b/include/mapnik/geometry_correct.hpp index 9c9f0ec6d..5624d6753 100644 --- a/include/mapnik/geometry_correct.hpp +++ b/include/mapnik/geometry_correct.hpp @@ -50,6 +50,16 @@ struct geometry_correct } } + result_type operator() (line_string & line) const + { + boost::geometry::correct(line); + } + + result_type operator() (multi_line_string & multi_line) const + { + boost::geometry::correct(multi_line); + } + result_type operator() (polygon & poly) const { boost::geometry::correct(poly);