The final line_to is not required in the WKB reader since the last and first points of the polygon geometry will be the same

This commit is contained in:
Jon Burgess 2009-02-07 23:43:53 +00:00
parent d62fe5eb1a
commit 79c350678a

View file

@ -297,7 +297,6 @@ namespace mapnik
{
poly->line_to(ar[j].x,ar[j].y);
}
poly->line_to(ar[0].x,ar[0].y);
}
feature.add_geometry(poly);
}