A graticule is a set of reference lines on a map that help orient a map reader. They are often set at and labeled with the coordinates. For traditional printed maps that are intended for navigation and surveying tasks where you want to mark the geographic coordinates, sometimes in multiple coordinate systems. This recipe is about adding such reference lines to a Print Composer map.
You will need a map, typically of a small area (several miles or km across). For this recipe, elevlid_D782_6.tif works well.
elevlid_D782_6.tif.


Reference graticules are evenly spaced lines with marked coordinates. Based on your settings the composer calculates the positioning of the lines from the map data coordinates. The key to making useful graticules in the print composer is to select intervals that are often enough to provide reference but not so often that they cover a large portion of the map. It's also important to pick intervals that have nice rounded numbers, so that it's easy to calculate the value half way between two lines.
There are two ways to make grids/graticules in QGIS: the print composer for printed maps or as a layer in QGIS for printed web maps as an internal usage.
The main advantages of the print composer method are the ability to do multiple coordinate systems easily and to add tick marks around the outside edge of a map. Tick marks are what you commonly see on navigation oriented maps, such as USGS Topo quads.
The primary advantages of graticules in the main map canvas are that you can use them as references while working with QGIS and have full control of the labels and symbology. Refer to the Making pretty graticules in any projection recipe in this chapter for how to make graticules in the main map interface.