Module 1 - Software and Data Preparation

What will you learn from this module?

  • Installing QGIS and PyLUSAT, and loading LUCIS-OPEN Tools for QGIS,

  • Be familiar with the user interface of QGIS 3.10.8,

  • Visualizing GIS data and creating maps.

1. Software Installation#

📌 Note on installation:

Follow the instruction to install QGIS

2. GIS Datasets#

  • The table below lists the GIS datasets used for this module.

  • They can be found within the downloaded zip folder from the previous section at GALUP-master -> training -> 1_lu -> datasets.

ID

File Name

Data Format

Type

Description

1

Gh_260_MMDA.shp

vector

polygon

Districts of Ghana

2

population_gha_2018-10-01.tif

raster

tiff

Population of Ghana in 2018

3

healthsites.shp

vector

point

Health facilities in Ghana

4

GHARoads2020PrimarySecondary.shp

vector

line

Primary and secondary roads in Ghana

3. Working with QGIS #

In this section, we will explore the QGIS Graphical User Interface (GUI) and the basic functions including visualizing GIS data and creating maps.

To get an overview and understand each GUI element’s purposes, including (1) Layers List / Browser Panel, (2) Toolbars, (3) Map canvas, (4) Status bar, (5) Side Toolbar, (6) Locator bar, please checkout this page.

Moreover, you can customize the GUI by dragging and moving Panels and Toolbars to the place you prefer (see the animation below).

gui_custom

3.1 Add Data to Map Canvas#

  1. The primary way to add data to QGIS Map Canvas is by Drag-and-Drop items in the Browser panel.

  2. Another way to add data is by loading layer from a file.

    📌 Use Favorites to quickly get to the data you used frequently:

    In the Browser Panel, you can also add the folder you frequently used to Favorites. To avoid long path shown in the Favorites, you can also Rename Favorite....

  3. Now, lets load Districts of Ghana, Road Network, and Health Facility to Map Canvas, as shown in below.

3.2 Check data in the Attribute Table#

The Attribute Table displays information on features of a selected layer.

  • Right click the layer of your interest, and click Open Attribute Table.

  • As circled in the image below, the title of the Attribute Table window includes: 1) the title of the layer, 2) the total number of the features in the layer, 3) the number of features are filtered, and 4) the number of features are selected.

3.3 Change Symbology of a Layer#

The symbology of a layer is one of important functions in GIS. By presenting the data with a dynamic visual appearance on the map, you can better explore the data as you are working with it.

  • Symbolize the vector layers using Single Symbology in the layer properties.

  • Choose the Categorized option to present the data, if you have data that is broken into categories (the image in the middle is using region column).

  • Choose the Graduated option to present the data, if you have numeric data you want to symbolize (the image on the right is using the population column).

3.4 Add a Basemap to Map Canvas#

A Basemap is a layer with geographic information that serves as a background. A base map provides context for additional layers that are overlaid on top of the base map. In this module, we use QuickMapServices, a QGIS Plugin, to add basemap to Map Canvas.

  1. Open the Plugins window at the main menu toolbar, and click Manage and Install Plugins....

  2. Search and install a new Plugin called QuickMapServices.

  3. After installation, open the QuickMapServices Settings window, click the More Services tab, and click Get contributed pack to get more basemaps. For details, please check out this tutorial.

  4. Choose one basemap from the QuickMapServices and add it to Map Canvas.

    icons
basemap |

3.5 Create a Layout to Print Your Map#

After setting up the map, you are now ready to layout your map and print it (as a pdf file) to share with your colleagues.

  • Open the Layout Manager window, click the Create… button, and name your map and click OK to open the map window.

  • In the map window, click the Add Item button on the main menu bar, and click add map.

  • In order to have a decent map, you need: 1) a Title for your map, 2) a Legend to identify the elements in the map, 3) a Scale Bar to indicates the scale of the map, 4) a North Arrow to indicate the direction. You can add these items under the Add Item button.

  • After you finishing all the layout of your map, click the Layout button on the main menu bar, and click Export as PDF to export your map. (If the basemap cannot be rendered in the PDF file, try a lower dpi (e.g., 150 dpi) in the Export Setting in the Layout Panel.)

  • See the example map in PDF file here.

4. Exercises and Post-training Survey#

  • Please complete the Exercise 1.

  • Please complete the Exercise 2.

  • Please take this post-training survey (required).

  • Please submit your exercises here.

5. Additional Resources#

6. What’s Next?#

Module 2 - Introduction to LUCIS-OPEN Tools for QGIS.