ref #2755 test if centroid is within bounding box
This commit is contained in:
parent
3f1aa7b4b4
commit
fb61a2bb90
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ void apply_markers_multi(feature_impl const& feature, attributes const& vars, Co
|
|||
multi_policy == MARKER_WHOLE_MULTI)
|
||||
{
|
||||
geometry::point pt;
|
||||
// test if centroid is contained by bounding box
|
||||
if (geometry::centroid(geom, pt) && converter.disp_.args_.bbox.contains(pt.x, pt.y))
|
||||
{
|
||||
// unset any clipping since we're now dealing with a point
|
||||
|
|
Loading…
Add table
Reference in a new issue