From 4084e670ec521ca0711f527c3bd0a52c7a2a451b Mon Sep 17 00:00:00 2001 From: Jiri Drbalek Date: Tue, 16 May 2017 12:02:37 +0000 Subject: [PATCH] fix closing polygons on reprojection --- include/mapnik/transform_path_adapter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/transform_path_adapter.hpp b/include/mapnik/transform_path_adapter.hpp index 52a68e918..17acb0e6b 100644 --- a/include/mapnik/transform_path_adapter.hpp +++ b/include/mapnik/transform_path_adapter.hpp @@ -86,7 +86,7 @@ struct transform_path_adapter while (!ok) { command = geom_.vertex(x,y); - if (command == SEG_END) + if (command == SEG_END || command == SEG_CLOSE) { return command; }