Generalități despre Compozitorul de Hărți

Compozitorul de Hărți oferă capabilități în creștere de aspect și de imprimare. Acesta permite adăugarea elementelor, cum ar fi canevasul hărților QGIS, etichete de text, imagini, legende, scări grafice, forme de bază, săgeți, tabele de atribute și cadre HTML. Există posibilitatea de dimensionare, grupare, aliniere, poziționare și rotire a fiecărui element și de reglare a proprietăților, în scopul punerii în pagină. Hărțile pot fi tipărite sau exportate ca formate de imagine, PostScript, PDF sau SVG (exportul către SVG nu funcționează corect cu unele versiuni recente de Qt4; ar trebui să încercați și să verificați în mod individual pe sistemul dumneavoastră). Aveți posibilitatea să salvați un șablon, pe care să-l încărcați din nou într-o altă sesiune. În cele din urmă, generarea mai multor hărți pe baza unui șablon poate fi realizată prin intermediul generatorului atlasului.

Sesiune de Probă

Before you start to work with the Print Composer, 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 newComposer New Print Composer icon in the toolbar or choose File ‣ New Print Composer. You will be prompted to choose a title for the new Composer.

Pentru a demonstra cum se poate crea o hartă folosiți următoarele instrucțiuni.

  1. On the left side, select the addMap Add new map toolbar button and draw a rectangle on the canvas holding down the left mouse button. Inside the drawn rectangle the QGIS map view to the canvas.
  2. Select the scaleBar Add new scalebar toolbar button and click with the left mouse button on the Print Composer canvas. A scalebar will be added to the canvas.
  3. Select the addLegend Add new legend toolbar button and draw a rectangle on the canvas holding down the left mouse button. Inside the drawn rectangle the legend will be drawn.
  4. Selectați pictograma select Select/Move item pentru a selecta harta de pe canevas și pentru a o muta un pic.

  5. While the map item is still selected you can also change the size of the map item. Click while holding down the left mouse button, in a white little rectangle in one of the corners of the map item and drag it to a new location to change it’s size.
  6. Click the Item Properties tab on the left lower panel and find the setting for the orientation. Change the value of the setting Map orientation to ‘15.00° ‘. You should see the orientation of the map item change.
  7. Now, you can print or export your print composition to image formats, PDF or to SVG with the export tools in Composer menu.
  8. În cele din urmă, puteți salva compoziția cu ajutorul butonului fileSave Salvare Proiect.

You can add multiple elements to the Composer. It is also possible to have more than one map view or legend or scale bar in the Print Composer 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 Composer canvas you can do that with the Delete or the Backspace key.

Managerul Compozițiilor

The Composer Manager is the main window to manage print composers in the project. It helps you add new print composer, duplicate an existing one, rename or delete it. To open the composer manager dialog, click on the composerManager Composer Manager button in the toolbar or choose Composer ‣ Composer Manager. It can also be reached from the main window of QGIS with Project ‣ Composer Manager.

Figure Composer Manager:

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

Managerul Compozitorului de Hărți

The composer manager lists in its upper part all the available print composers in the project. The bottom part shows tools that help to:

  • a arăta compozito(arele) selectate: puteți deschide mai multe compozitoare de hărți printr-un singur clic

  • duplicate the selected composer (available only if one print composer is selected): it creates a new composer using the selected composer as template. You’ll be prompted to choose a new title for the new composer
  • rename the composer (also available only if one print composer is selected): You’ll be prompted to choose a new title for the composer. Note that you can also rename the composer by double-clicking on its title in the upper part
  • remove the composer: the selected print composer(s) will be deleted from the project.

With the Composer Manager, it’s also possible to create new print composers as an empty composer or from a saved template. By default, QGIS will look for templates in user directory (~/.qgis2/composer_templates) or application’s one (ApplicationFolder/composer_templates). QGIS will retrieve all the available templates and propose them in the combobox. The selected template will be used to create a new composer when clicking Add button. You can also save composer templates in another folder. Choosing specific in the template list offers the ability to select such template and use it to create a new print composer.