Skip to main content
go further
Source Link
YoLecomte
  • 3.3k
  • 16
  • 30

I assume that you have multiple features with the same ID and not real multipoint. If needed there is also a solution with real multipoint, let me know.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

enter image description here

EDIT :

Answer by @Kazuhito gave me an idea to go further.

You can also add two fields (x_lbl and y_lbl for example) and use them to get a total control on the placement of your label by using data-defined properties for label placement. Fill these fields with the coordinates where you need your label, you can then modify easily the place from the QGIS Interface. Look for this buttons:

enter image description here

I assume that you have multiple features with the same ID and not real multipoint. If needed there is also a solution with real multipoint, let me know.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

enter image description here

I assume that you have multiple features with the same ID and not real multipoint. If needed there is also a solution with real multipoint, let me know.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

enter image description here

EDIT :

Answer by @Kazuhito gave me an idea to go further.

You can also add two fields (x_lbl and y_lbl for example) and use them to get a total control on the placement of your label by using data-defined properties for label placement. Fill these fields with the coordinates where you need your label, you can then modify easily the place from the QGIS Interface. Look for this buttons:

enter image description here

add img
Source Link
YoLecomte
  • 3.3k
  • 16
  • 30

I assume that you have multiple features with the same ID and not real multipoint. If needed there is also a solution with real multipoint, let me know.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

enter image description here

I assume that you have multiple features with the same ID and not real multipoint. If needed there is also a solution with real multipoint, let me know.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

I assume that you have multiple features with the same ID and not real multipoint. If needed there is also a solution with real multipoint, let me know.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

enter image description here

added 160 characters in body
Source Link
YoLecomte
  • 3.3k
  • 16
  • 30

I assume that you have multiple features with the same ID and not real multipoint. If needed there is also a solution with real multipoint, let me know.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

I assume that you have multiple features with the same ID and not real multipoint.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

I assume that you have multiple features with the same ID and not real multipoint. If needed there is also a solution with real multipoint, let me know.

You can add an integer field to your shapefile that you populate with 1 if you want to display the label for this features and 0 for others.

Then in the renderer of the label use data-defined property for show or not labels.

Source Link
YoLecomte
  • 3.3k
  • 16
  • 30
Loading