3

I need to force the labels of the street names to be under the main point shapefile of a map. As I understood it, this is not possible, but perhaps somebody has a workaround. For now it would be enough if it could work in the print composer. Here is a sample situation:

The red diamonds are the main information of the map and the street names should also be seen, but if conflicting with the point shapefile they should be under those diamonds.

1
3

A workaround is to use the point symbol in the label itself. Luckily you are using a simple marker that can easily be reproduced in the label (vs categorized or proportional symbols)

So, create the label and use a transparent (and small) text. Then in the background tab, select svg and select backgrounds/background_tilted_square.svg. You can then set the symbol size and color. At last, don't forget to put your point layer above the road layer and/or to play with the label priorities.

Symbol in labels - text

Symbol in labels - svg

1
  • Didn't think of that. But I actually have categorized markers (on the pic is only one category). And I am also planning to use labels for this shapefile as well, which is why this solution sadly is not a possibility for my case – JoeBe Oct 1 '17 at 19:15
0

I used the answer of @JGH and duplicated my layer to have the chance of adding further labels around the diamond. The only drawback for me is now that this diamond symbol will not highlight when I select the object, but I for now I can live with that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.