Exercise – 4 / Map Composition
QGIS has a powerful tool called Print Composer that allows you to take your GIS layers and package them to create maps.
Setting up a Map Layout
Now that we have a map with symbology & labels display (See Figure 67 - Map after displaying Labels) it’s time to prepare a Basic Map composition.
- Choose Project → New Print Layout → Provide a title to the print layout → Click on OK.
- New layout window will be created.
Figure 69 - New Print Layout window
- Go to Layout → Page Setup → Provide page size, print source and orientation and click on OK.
Figure 70 – Page Setup Window
Inserting a Title, North Arrow, Scale Bar and Legend
- Choose Add item in the menu bar and select Add Map, black cursorwill be display, drag the cursor from top left corner to bottom right corner to add the map displayed in the canvas.
- After adding map to layout create borders around the map;
- Select the layout
- Go to Item Properties at the left panel
- Select Frame
- Select Color
- Thickness
- Join Style (Bivel/Miter/Round)
Figure 72 Item Properties for Frame
Figure 73 - Layout view with Frame
- Choose Add item in the menu bar and select Add Label, black cursor will be display, drag the cursor where map title will be added.
- Go to Item Properties at the left panel
- Provide Map title
- Font Type & Size
- Font Color
Figure 76 - Layout view with Map Title
- Choose Add item in the menu bar and select Add Legend, black cursor will be display, drag the cursor where map Legend will be added.
- Go to Item Properties at the left panel
- Provide title as Legend
- Base on the requirement change the parameter as shown in figure 72
Figure 79 - Layout view with Legend
- Choose Add item in the menu bar and select Add Scale Bar, black cursor will be display, drag the cursor where map Scale Bar will be added.
- Go to Item Properties at the left panel
- Under Scalebar
- Main Properties
- Map – Leave default
- Select Scalebar Style
- Define Units
- Define label unit multiplier
- Labels for units
- Number format
Figure 83- Layout view with Scalebar
- Choose Add item in the menu bar and select Add North Arrow, black cursor will be display, drag the cursor where map North Arrow will be added.
- Default North Arrow will be added.
- To change the default north arrow, go to Item Properties at the left panel under Search Directories select the north arrow.
Figure 84 - Search Directories window for north arrow styles
- To change the color of the north arrow, provide the fill color & stroke color as show in the figure 79.
Figure 85 - SVG Parameters window for changing color of North arrow
- After the completion of Map composition click on Save project .
Figure 86 - Layout view with North arrow
Printing or Exporting your Map
- Now that we have a basic map with title, legend, scalebar & north arrow it’s time to print the composed map or export the composed map to pdf.
- To print the map in hard copy, choose Layout → Print → select printer from available printers and click on Print.
Figure 87 – Print Window
- To export the map as Image / pdf or svg ,choose Layout → Export as Pdf or Export as IMAGE or Export as SVG and click on Save.
Figure 88 - Save as pdf, image or SVG window
- Close the Composer window.
- Save your map.
- Find your exported IMAGE / PDF or SVG using your operating system’s file manager and Open it.
Comments
Post a Comment