Feature request #3647

Add the choice "near to the pointOnSurface"

Added by aperi2007 - about 13 years ago. Updated about 5 years ago.

Pull Request or Patch supplied:No Resolution:fixed/implemented
Easy fix?:No Copied to github as #:13706


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 over 12 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#2 Updated by Giovanni Manghi about 12 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#3 Updated by Pirmin Kalberer over 11 years ago

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

#4 Updated by Médéric RIBREUX over 8 years ago

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

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...

#5 Updated by Nathan Perry about 5 years ago

I still find a need for this feature, despite the existence of "force point inside polygon". See this new feature request: https://issues.qgis.org/issues/22012

Also available in: Atom PDF