Feature request #3647

Add the choice "near to the pointOnSurface"

Added by aperi2007 - over 6 years ago. Updated almost 2 years ago.

Pull Request or Patch supplied:No Resolution:fixed/implemented
Easy fix?:No


In the label-plugin there is these choices for label in advanced section:
above centroid
near centroid,

I guess another very useful option is
"above a point on surface"

Because for a polygon with a hole in its center
the centroid is on hole.
More better the geos::PointOnSurface that return a point surely over the polygon (and over the line for a linear geometry).


#1 Updated by Giovanni Manghi almost 6 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#2 Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#3 Updated by Pirmin Kalberer about 5 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

#4 Updated by Médéric RIBREUX almost 2 years ago

  • Operating System deleted (Windows)
  • % Done changed from 0 to 100
  • Pull Request or Patch supplied set to No
  • Status changed from Open to Closed
  • Assignee deleted (nobody -)
  • Resolution set to fixed/implemented
  • OS version deleted (7)

Hello, bug triage...

in QGIS 2.13 master (and probably in previous versions), there is the labelling option (in Placement tab): "Force point inside polygon" for "Offset from centroid" and "Around centroid" Placement options. With this option, the label will always be inside of the polygon, even if the centroid is in the hole.

I am closing this feature request...

Also available in: Atom PDF