In my map, every street segment is an entity. So each one is labelled as you can see in the picture. I'm trying to remove duplicate street labels within a given radius in QGIS, but I can't find how to do it. I know how to do it in ArcGIS, but in QGIS I cannot find the option.
Asked
Active
Viewed 1,599 times
3
-
How do you do it in ArcGIS? – DPSSpatial_BoycottingGISSE Jun 07 '17 at 14:56
-
In the label options there is a check box for removing duplicate with an option to set a distance reference: http://desktop.arcgis.com/en/arcmap/10.3/map/working-with-text/removing-duplicate-labels-within-a-given-radius.htm – Rashomon Jun 07 '17 at 15:10
-
group the line segments should help – Ian Turton Jun 07 '17 at 15:20
-
@iant Can't do that... I have 45 588 segments. The image only show a small part of the map. – Rashomon Jun 07 '17 at 15:32
-
@Rashomon keep digging, there are many options that should clean this up, ie. labeling only line segments of a certain length, not labeling duplicate features, etc. – DPSSpatial_BoycottingGISSE Jun 07 '17 at 15:35
-
2Grouping is a single tick box, http://docs.qgis.org/2.0/ca/docs/training_manual/vector_classification/label_tool.html#moderate-fa-labeling-lines – Ian Turton Jun 07 '17 at 15:40
-
... and the repeat option is in the placement tab ... – underdark Jun 07 '17 at 16:27
1 Answers
1
You could use the vector > geoprocessing tools > dissolve tool. Make sure to put the field that you want to use as a label in the "dissolve field".This will give you a single line for each unique value in that field.
Then you can label the output layer as usual and put the desired radius that you'd use in ArGIS in the 'repeat' box of the labels tab of the layer properties.
firefly-orange
- 2,521
- 6
- 23
