Overview of the Print Layout

The print layout provides growing layout and printing capabilities. It allows you to add elements such as the QGIS map canvas, text labels, images, legends, scale bars, basic shapes, arrows, attribute tables and HTML frames. You can size, group, align, position and rotate each element and adjust their properties to create your layout. The layout can be printed or exported to image formats, PostScript, PDF or to SVG (export to SVG is not working properly with some recent Qt4 versions; you should try and check individually on your system). You can save the layout as a template and load it again in another session. Finally, generating several maps based on a template can be done through the atlas generator.

예시 세션

Before you start to work with the print layout, you need to load some raster or vector layers in the QGIS map canvas and adapt their properties to suit your own convenience. After everything is rendered and symbolized to your liking, click the newLayout New Print Layout icon in the toolbar or choose File ‣ New Print Layout. You will be prompted to choose a title for the new layout.

지도를 어떻게 생성하는지 보고 싶다면 다음 지침을 따라주십시오.

  1. 대화창 좌측에서, addMap Add new map 툴바 버튼을 클릭하고 왼쪽 마우스 버튼을 누른 채 조판기의 캔버스 위에 직사각형을 드래그하십시오. 이 직사각형 안쪽에 QGIS 맵 뷰가 추가됩니다.

  2. Select the scaleBar Add new scalebar toolbar button and click with the left mouse button on the print layout canvas. A scalebar will be added to the canvas.

  3. addLegend Add new legend 툴바 버튼을 클릭하고 왼쪽 마우스 버튼을 누른 채 캔버스 위에 직사각형을 드래그하십시오. 이 직사각형 안쪽에 범례를 렌더링할 것입니다.

  4. select Select/Move item 아이콘을 클릭해서 캔버스 상에 있는 지도를 선택한 다음 조금 움직여보십시오.

  5. 지도 항목이 선택 상태인 동안 그 크기를 변경할 수도 있습니다. 지도 항목의 모서리에 있는 하얀색 정사각형을 클릭하고 왼쪽 마우스 버튼을 누른 채 새 위치로 드래그하면 지도의 크기를 변경합니다.

  6. 좌하단에 있는 Item Properties 패널을 선택한 다음 방향 관련 옵션을 찾아, Map orientation 의 설정값을 〈15.00°〉로 변경하십시오. 지도 항목의 방향이 바뀐 것을 볼 수 있을 겁니다.

  7. Now, you can print or export your print layout to image formats, PDF or to SVG with the export tools in Layout menu.

  8. Finally, you can save your print layout within the project file with the fileSave Save Project button.

You can add multiple elements to the print layout. It is also possible to have more than one map view or legend or scale bar in the print layout canvas, on one or several pages. Each element has its own properties and, in the case of the map, its own extent. If you want to remove any elements from the layout canvas you can do that with the Delete or the Backspace key.

The Layout Manager

The Layout Manager is the main window to manage print layouts in the project. It gives you an overview of existing print layouts and reports in the project and offers tools to:

  • add new print layout or new report from scratch, template or duplicating an existing one;

  • rename or delete any of them;

  • open them in the project.

To open the layout manager dialog:

  • from the main QGIS dialog, select Project ‣ Layout Manager… menu or click on the layoutManager Layout Manager button in the Project Toolbar;

  • from a print layout or report dialog, select Layout ‣ Layout Manager… menu or click on the layoutManager Layout Manager button in the Layout Toolbar.

../../../_images/print_composer_manager.png

The Print Layout Manager

The layout manager lists in its upper part all the available print layouts or reports in the project with tools to:

  • show the selection: you can select multiple reports and/or print layout(s) and open them in one-click. Double-click a name also opens it;

  • duplicate the selected print layout or report (available only if one item is selected): it creates a new dialog using the selected one as template. You’ll be prompted to choose a new title for the new layout;

  • rename the report or layout (available only if one item is selected): you’ll be prompted to choose a new title for the layout;

  • remove the layout: the selected print layout(s) will be deleted from the project.

In the lower part, it’s possible to create new print layouts or reports from scratch or a template. By default, QGIS will look for templates in the user profile and the application template directories (accessible with the two buttons at the bottom of the frame) but also in any folder declared as Path(s) to search for extra print templates in Settings ‣ Options ‣ Layouts. Found templates are listed in the combobox. Select an item and press the Create button to generate a new report or print layout.

You can also use layout templates from a custom folder; in that case, select specific in the templates drop-down list, browse to the template and press Create.

Creating template-based print layouts from Browser panel

Drag-and-drop a print layout template .qpt file from any file browser onto the map canvas or double-click it in the Browser panel generates a new print layout from the template.