I have a layout in QGIS where 3 map views are rotated to 35 deg. The grids automatically rotate to match the maps rotation, however the labels do not.

Does anyone know a way to make the coordinate labels match the rotation of the map?

Grid Coordinates not matching grid/map rotation

  • 1
    Which QGIS version are you using specifically? Layouts are used in QGIS 3.x; Print composer is used in QGIS 2.x. Your question title, body and tags include a mixture of these :)
    – Joseph
    Oct 15 '19 at 13:09
  • I don't believe there is a direct option as the Draw Coordinates options are based on the item rotation (from those you only have horizontal and vertical options) and not the map rotation. maybe overlaying an empty map on top of the original map that you would rotate the item to the same angle as the original map rotation would do it, but then the labels wouldn't be place on edges of the original map.
    – B-C B.
    Nov 22 '19 at 19:43
  • Are these labels generated in the map view or layout view?
    – Andrew
    Feb 7 '20 at 18:17

Rotation of coordinate values is not possible in QGIS (as of the latest version so far, QGIS 3.12). There are only possible workarounds to get the final look as you want. Both of these mentioned methods require your manual input.

  1. Make map rotation as per your requirement. Add grid, set X and Y interval as per your need, and enable grid coordinates. Add text labels manually for each grid coordinate, write the value of coordinate, and rotate the label manually in Item Properties. In the end, remove the coordinates (i.e., disable 'Draw Coordinates') on the grid. enter image description here

  2. Export the map as SVG and rotate the coordinate text in an SVG editor, e.g., Inkscape.

This idea is good, I would suggest to come ahead and submit a feature request to QGIS developers' team.

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.