Skip to content

centroid on border #13

@zsiki

Description

@zsiki

pointOnSurface sometimes returns centroid on the border of the polygon. It happens when the borderlines are horizontal and vertical (e.g. result from raster to vector).
It happens with the previous custom algorithm for QGIS < 2.4, too.
Let's improve that algorithm and add a new checkbox avoid centroids on polygon border.
It was reported by Richard Metcalfe.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions