Skip to content
← Back to Map layouts in QGIS: from template to automated map series
Map layouts · Part 04 of 18Beginner· 9 min readSources

Add a Scale Bar, a North Arrow and a Coordinate Grid in QGIS

Add a scale bar that is linked to the map, a north arrow that follows the map, and a coordinate grid with labels on two sides, and learn when each one earns its place.

A scale bar tells the reader how big things are. A north arrow tells them which way is up, when that is not obvious. A coordinate grid lets them find a place by its coordinates. None of the three is always needed, and a map with all of them in the wrong places looks cluttered. This page adds all three so you can see how, and says when to leave each one out. The note on scale bars, north arrows and grids gives the rules.

You continue in the layout Parks and lakes map. Here is where you start.

The layout with title, subtitle, framed map, legend and source note, and space in the right column below the legend
Figure 4.1. The layout so far. The right column below the legend is free.

Step 1: Add the scale bar

Choose Add Item > Add Scale Bar and drag a rectangle in the right column, below the legend. The Item Properties panel shows the scale bar's settings.

The Main Properties of the scale bar with the linked map main_map, the style Single Box and the units set to kilometres
Figure 4.2. Main Properties of the scale bar.

Check three things here:

  1. Map is main_map. A scale bar measures one particular map frame, and with several maps on a page it is easy to link the wrong one. This is another reason for the IDs.
  2. Style is Single Box. It is simple and readable. The other styles are fine too, but fewer segments and plainer lines read better than decorative ones.
  3. Units are Kilometers, with the label km. Choose units that suit your reader. For a city, kilometres are easier than metres.

Open the Segments group.

The Segments group of the scale bar with left 0, right 2, Fit segment width chosen with a minimum of 25 and a maximum of 55 millimetres, and the scale bar showing 0, 5 and 10 km on the page
Figure 4.3. Segments: none on the left, two on the right, fitted to a width of 25 to 55 mm.

Set left to 0 and right to 2. Then choose Fit segment width and set the minimum to 25 mm and the maximum to 55 mm. QGIS now picks round numbers so that the whole bar stays between 25 and 55 mm wide. At this scale it reads 0, 5, 10 km.

The other choice, Fixed width, keeps the same distance in every segment, for example 5 km, at any scale. That is fine for one map. In a map series the scale changes from page to page, and a fixed 5 km bar can become so long that it runs off the page. Fit segment width is the safer choice, and it is why the series later works with Atlas.

Do not use too many segments. Three or four labels are enough. Move the scale bar to X 205 and Y 167, and give it the ID main_scale_bar.

A scale bar is correct only for the map it is linked to. If you change the map's scale, look at the scale bar again. If you rotate the map or use a very large area, the scale is not the same everywhere, and a scale bar can mislead. For a city-sized map in a projected CRS, as here, it is reliable.

Step 2: Add the north arrow

Choose Add Item > Add North Arrow and drag a small square next to the scale bar. It is a picture item that uses a built-in graphic.

A small north arrow picture at the bottom right of the page, selected, with the picture properties in the panel
Figure 4.4. The north arrow is a picture.

Open Image Rotation.

The Image Rotation group of the north arrow with Sync with map ticked, the map main_map and the north alignment set to Grid North
Figure 4.5. Sync with map keeps the arrow pointing the right way.

Tick Sync with map and choose main_map. Now, if you ever rotate the map, the arrow turns with it and keeps pointing to north. Set the item to about 14 by 14 mm at X 270, Y 162, and give it the ID north_arrow.

When do you need one? On most maps where north is up, the reader already assumes it, and the arrow adds clutter. Use one when the map is rotated, when the area is unfamiliar, or when your organisation requires it. Keep it small and quiet. It should never be the loudest thing on the page.

Step 3: Add a coordinate grid

A grid belongs to the map item, not to the page. Select the map, open the Grids group and click the green plus button to add a grid. Select it in the list and click Modify Grid.

The Grids group of the map item with one grid listed and the Modify Grid button available
Figure 4.6. The Grids group lists the grids of this map.

The grid has its own panel.

The Map Grid Properties panel with the grid type Frame and annotations only, the CRS EPSG:32643, an interval of 5000 map units in X and Y, and a Zebra frame style
Figure 4.7. Map Grid Properties.

Set these values:

  • Grid type: Frame and annotations only. This draws ticks and labels at the edge and leaves the map itself clear. Lines across the map would compete with the data.
  • CRS: EPSG:32643, the same as the project. The labels are then in metres. Use a geographic CRS such as EPSG:4326 if you want degrees.
  • Interval: 5000 map units in both X and Y. That is one line every 5 km. Pick an interval that gives about five to eight labels across the map.
  • Frame: style Zebra, size 1.5 mm, and tick only the left and bottom sides.
  • Annotations: tick Draw coordinates. Show them outside the frame, on the left and at the bottom only, with 0 decimals and a 7 point font.

Click the back arrow at the top of the panel to return to the map.

The finished layout with the scale bar and north arrow at bottom right and a zebra frame with coordinate labels on the left and bottom of the map
Figure 4.8. The map with a scale bar, a north arrow and a coordinate frame.

Labels on two sides are enough to find a place. Labels on all four sides crowd the title and the legend. Check that the numbers make sense: easting values around 770,000 to 800,000 and northing values around 1,425,000 to 1,450,000 are right for Bengaluru in UTM zone 43N.

Do you need a grid? For a map that people will use to look up locations or to compare with other maps, yes. For a thematic map that tells a story, as this one does, a grid is optional, and you could remove it. The grid is here so you can see how it works. If you leave it out, you give the data more room.

Save the project.

When it breaks

What you seeWhyWhat to do
The scale bar runs off the page or into other itemsIt has a fixed width and the scale of the map is largeChoose Fit segment width and set a maximum width
The scale bar is wrong after you change the map scaleThe numbers fit the old scaleCheck the segments and units again
The scale bar measures the wrong mapIt is linked to another map frameChange Map in its Main Properties
The north arrow does not turn with the mapSync with map is offTick Sync with map and choose the map
The grid labels overlap or crowd the edgeThe interval is too smallIncrease the interval, or show labels on fewer sides
Labels show strange numbers or degreesThe grid CRS is not the one you meantCheck the CRS in Map Grid Properties
The grid is not listed after adding itThe panel did not refreshSelect another item and then the map again

Make it your own

  1. Change the scale bar to miles. Does it help the reader, or only make the numbers less round?
  2. Set the grid interval to 2000, then to 10000. Which gives the most useful labels?
  3. Rotate the map by 20 degrees in Main Properties. Watch the north arrow. Then change the rotation back to 0.

Common mistakes

  • A scale bar that is linked to no map, or to the wrong one.
  • A fixed-width scale bar on a map whose scale will change.
  • A north arrow that is large, decorated or heavier than the data.
  • A grid with lines that cross the whole map and compete with the colours.
  • Grid labels on all four sides, so that they collide with the title, the legend and each other.
  • Leaving a grid or arrow on a map where it adds nothing.

Key takeaways

Next: A locator map with an overview frame.