From 1bd3e3678c0e39262e3a895f35155e96e1bf1882 Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Thu, 26 Jan 2012 18:12:16 +0100 Subject: [PATCH] Really use filtered geometries. --- include/mapnik/symbolizer_helpers.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/mapnik/symbolizer_helpers.hpp b/include/mapnik/symbolizer_helpers.hpp index e471bb026..22168474a 100644 --- a/include/mapnik/symbolizer_helpers.hpp +++ b/include/mapnik/symbolizer_helpers.hpp @@ -111,12 +111,10 @@ text_placement_info_ptr text_symbolizer_helper::get_pla } placement_finder finder(*placement, info, detector_, dims); - unsigned num_geom = feature.num_geometries(); - for (unsigned i=0; inum_points() == 0) continue; // don't bother with empty geometries + finder.find_placement(angle, *geom, t_, prj_trans); if (!placement->placements.size()) continue; if (writer.first) writer.first->add_text(*placement, font_manager_, feature, t_, writer.second);