I've created a map grid in QGIS (3.12) layout. Is there a way/expression to re-position the map grid coordinate labels so they are not overlying the map grid? It would be good to offset them to the side of the grids.

Is there also a way to add a drop shadow to these labels?

This is what the grid and labels currently look like:

enter image description here


You can do it with 2 grids.

So the first one is one with just the cross marks.

Then a second one with just the labels. And set a suitable offset for the second grid. Bearing in mind that you will have to create a custom label for the grid as well.

So for me:

Grid 1:

Simple full line grid.

enter image description here

Grid 2:

Just the annotations, with a 5000 meter offset. I then also need to adjust the "Format" to be "Custom" with a formula of:

@grid_number - 5000

Otherwise it would be the label with the offset included.

enter image description here


enter image description here

There is currently no way to add a drop shadow to the text (as of QGIS version 3.10.2-A Coruña).

  • That's great - thanks very much – AB-1 Mar 13 '20 at 10:47

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.