I am working on a protected areas map. The label layer is from the mapping authority. The one I am using is point based.
Unfortunately some of the points carry the same name leading to duplicate names for mountain areas, glaciers and other. I am for several reasons bound to use this layer, so finding a different layer or making changes to the layer is not within the scope of this question.
Is there a way to remove duplicate labels when labels are within a certain distance of each other?
If so, can such a rule be enforced within one of the categories when rule-based labelling is used?
Best Answer
Fast forward into 2020 and QGIS 3.10. There are now dedicated tools to do the accepted answer methodology.
In the labels properties, select the Placement tab. Select the Offset from point option and use the center quadrant.
In the Geometry generator, use the following expression: