This QGIS tutorial will give you a blueprint how to use QGIS 3.
This isn’t for advanced users.
Instead, it covers the basics like symbolizing, editing and using print layouts.
Here’s what we will cover in this QGIS tutorial.
Table of Contents: QGIS Tutorial
- How to download QGIS
- The anatomy of QGIS
- Creating data
- Editing data
- Adjusting symbology
- Using print layouts
- Exporting maps
- Running geoprocessing tools
- Downloading QGIS plugins
- Adding a basemap
- 3D visualization
- Other plugins
How to download QGIS 3
Built on the shoulders of the open source GIS community, you can download QGIS at its central hub.
It’s available for all major operating systems like Windows 32 and 64 bit and also Mac.
In this QGIS tutorial, we’ll use Natural Earth data because it has a quick-start kit for you to get started quickly.
If you want to learn more about this data package, read more about Natural Earth data.
The Anatomy of QGIS
MAP CANVAS: When you start QGIS, the large window, front-and-center is the map canvas. The map canvas displays all of your map features. Scrolling the wheel on your mouse up and down will zoom in and out. Holding the wheel on your mouse down will pan left, right, up and down.
DATA BROWSER: The panel on the left is for browsing and managing your GIS data. It’s like the windows explorer for GIS data for adding layers in your map canvas. You can move and dock panels on either sides. It’s completely customizable and up to you where you want to dock it.
TOOLBARS: Toolbars are specialized sets of tools located above the map canvas. You can undock and move them anywhere in QGIS 3. For example, these are the standard toolbars that are in a QGIS install:
- Data Source Manager
- Map Navigation
QGZ File: When you save your project, it will create a file with a QGZ extension. In QGIS 2, it was the QGS file. Now, it’s the upgraded QGZ file. The advantage of this file type is that you can open it like a TXT file.
If you want to create points, lines and polygons, then you can make a new shapefile to store these features:
- First, start by right-clicking the folder you want to create the shapefile in the Browser panel.
- Then, select New ▸ Shapefile.
- Next, choose the feature geometry as points, lines or polygons.
- Finally, select the encoding type and coordinate reference system.
When you click OK, it will prompt you to name the shapefile. Once you assign it a name, it automatically goes into your layer list.
Keep in mind there are other GIS formats for storing data. For example, you can use a geopackage (GPKG), which is a SQLite database file.
If you want to edit a layer, first select and highlight it in the layer panel. Next, click the Toggle Editing tool in the Editor toolbar. From here, it enables the editing tools.
Next, you can add vertices by using the “add point” or “vertex tool”. By clicking on the map canvas, this adds vertices to geometry.
If you want to finish geometry, you can simply right-click on the map canvas. From here, you can fill in the attributes. If you want to save your edits, click the “Save Layer” button.
If you want to adjust the symbology, QGIS has a shortcut to access the layer styling. By clicking the “layer styling” button, the symbology panel opens on the right-hand side.
In the layer styling panel, this is how you can change the symbology styles. You can also create point, line and polygon symbols by adding several together.
In the labels tab, you can decide which label styles to use. You get stylish labeling options in QGIS 3. For example, you can use halos, transparency and drop-shadows.
You can also adjust the transparency of features in the map. Optionally, you can save it as a style file for later use.
Using print layouts
Print layouts are almost like a secondary interface. It’s how you make a professional quality map. It’s also where you add common map elements like north arrows, scale bars and titles.
- First, click Project ▸ New Print Layout.
- Next, enter a name for your layout.
- Click Add Item ▸ Add Map
- Then, drag an area in your canvas.
- Use Edit ▸ Move Content to pan in the map window
- In the Item Properties tab, you can set the map scale, extent and even rotation of the map.
- By clicking Add Item ▸ Add Scalebar, it adds a scalebar.
There are options for adding labels, legends and north arrows so you can test what everything does. This is also how you will create a 3D map, which is something completely new to QGIS 3.
Print layouts supercede its predecessor print composers from QGIS 2. Luckily, they have similar functionality and interface.
As explained above, print layouts are for exporting and printing professional quality maps. It’s in the composition panel that you set paper size, orientation, units and background color. If you want to export a PDF map in QGIS, click
Layout ▸ Export as PDF.
If you export as SVG, this gives you the option to import the map in Adobe Illustrator. You can also export maps in a wide range of formats like JPG, PNG and TIF.
Running geoprocessing tools
You can access the GIS processing tools by clicking:
Processing ▸ Toolbox.
If you want to find a specific tool, the easiest way is to search for it. The search bar at the top helps you to locate the tools you need from over 600 available tools.
- File tools
- Layer tools
- Network analysis
The last 3 toolboxes belong to separate free and open source GIS software. By adding GDAL, GRASS GIS and SAGA GIS toolboxes, you get even more specialized tools like in geosciences and geostatistics.
There are about 500 plugins available in the QGIS repository. The number of plugins are growing every day. Here’s how to download a plugin:
Plugins ▸ Manage and Install Plugins
This will open the plugin manager where you can download, update, activate and deactivate them. For example, these are some of the popular plugins
- CAD TOOLS: Performs CAD-like functions in QGIS
- GEARTH: Displays QGIS view and features with attributes into Google Earth
- PROFILE TOOL: Plots profile lines from elevation raster layers
- GEOCODING: Allows users to search for an address and get its coordinates
Make sure you take full advantage of QGIS plugins. Whether you’re looking to build webmaps or perform remote sensing classification, QGIS plugins can boost its functionality.
Adding a basemap
Basemaps are background, non-editable, georeferenced images that gives a point of reference on a map. In this QGIS tutorial, we’ll use the QuickMapServices.
First, search for QuickMapServices in the plugin manager. Then, click Install Plugin. After the plugin installs, it will be available to you in the top menu bar.
Go to: Web ▸ QuickMapServices Plugin.
By selecting a layer from the drop-down menu, you can add it to the map canvas. For example, you will see different layers to choose from including:
- OpenStreetMaps (Topographic, Cycle Map, Landscape and Public Transportation)
- NASA (Forest Fires, SEDAC)
- MapQuest (Aerial, OSM)
If you want to add Google and Bing basemaps, you can go through the settings and click “More Services”. From here, you click “Get contributed pack”. After downloading the contributed packages, you will be able to use web services from Google and Bing.
First, you’ll need a digital elevation model (DEM) for this QGIS tutorial. If you don’t have one, you can download one from our list of 5 DEM sources.
If you want to drape an orthoimage on top of your elevation model, here are 15 free satellite imagery sources for downloading.
USGS Earth Explorer is also a great source for both elevation and imagery data. Check out our guide for how to download imagery from USGS Earth Explorer.
- After you have your data, drag-and-drop it in the map canvas.
- Click View ▸ New 3D Map View
- By holding down the middle mouse button, you can tilt your map in 3D.
- You can adjust the 3D configuration settings like vertical scale, tile resolution.
By adding your orthoimage to the map canvas, it will drape over your elevation data. This gives it a realistic 3D model view like the screenshot below of Ayers Rock.
QGIS plugins give you extra firepower beyond the traditional processing tools. Plugins are one of the main reasons why QGIS 3 is so powerful as a GIS software.
If you rank QGIS plugins by downloads, here are the top 10 plugins that users are embracing:
- OpenLayers Plugin
- MetaSearch Catalogue Client
- Semi-Automatic Classification Plugin
- Profile Tool
- Table Manager
In this QGIS guide, we covered all the essentials.
From adding GIS data to editing it…
From symbolizing to exporting maps in print layouts…
But this QGIS guide has just scratched the surface.
Now, it’s your turn:
Download QGIS today and leverage its plugins. It’s time to map with confidence.