This section of the free chapter preview of Mastering QGIS looks at making maps in QGIS. Mastering QGIS is designed to bring users who want to go beyond the basics of QGIS to an advanced level of QGIS expertise.
With QGIS you can compose maps that can be printed or exported to image and graphics files. To get started, click Project | New Print Composer. Give the new composition a name, click OK, and the Composer window will open.
The composer presents you with a blank sheet of paper upon which you can craft your map. Along the left side there are a series of tools on the Composer Items toolbar. The lower portion of the toolbar contains buttons for adding map elements to your map including: the map body, images, text, a legend, a scale bar, graphic shapes, arrows, attribute tables and html frames. Map elements become graphics on the composition canvas. By selecting a map element, graphic handles will appear around the perimeter. These can be used to move and resize the element. The upper portion of the Composer Items toolbar contains tools for panning the map data, moving other graphic content, zooming and panning on the map composition.
The majority of the map customization options can be found in the composer tabs. To specify the sheet size and orientation, use the Composition tab. Once map elements have been added to the map they can be customized with the Item Properties tab. The options available on the Item Properties tab change according to the type of map element that is selected. The Atlas Generation tab allows you to generate a map book. For example, a municipality could generate an atlas using a map sheet GIS layer and specifying which attribute column contains the map sheet number for each polygon. The Items tab allows you to toggle individual map elements on and off.
The toolbars across the top contain tools for aligning graphics (Composer Item Actions toolbar), navigating around the map composition (Paper Navigation toolbar) and tools for managing, saving, and exporting compositions (Composer toolbar). Maps can be exported as images, PDF’s and SVG graphic files. To export the map click on the Composer menu and select one among the options; Export as image… , Export as SVG…, or Export as PDF..depending on your needs.