Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
QGIS Quick Start Guide
QGIS Quick Start Guide

QGIS Quick Start Guide: A beginner's guide to getting started with QGIS 3.4

eBook
$15.99 $22.99
Paperback
$32.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

QGIS Quick Start Guide

Getting Started with QGIS 3

QGIS is free and open source software. It is a Geographical Information System (GIS). QGIS enables users to create, manipulate, and visualize spatial data. Spatial data is data associated to a location or a place, commonly defined in terms of vector (points, lines, or polygons) or raster (bitmap) data. The QGIS project began in 2002 as a way of importing and viewing data from PostGIS (also open source software that adds geographic support to PostgreSQL) enabled database. QGIS is arguably now the leading open source GIS software package.

QGIS 3 was a significant update in the QGIS series. If you are familiar with the QGIS project, you can inspect the changes in the visual changelog available at this website: https://www.qgis.org/en/site/forusers/visualchangelogs.html. The processing framework was rewritten and has improved the performance significantly. Now, QGIS 3 provides users access to Python 3. This means many of the plugins, that make QGIS so powerful, have been updated to be compatible with the new API. At the time of writing, QGIS 3 had been out for almost a year. QGIS 3.4 was released in October, 2018. It is scheduled to become the first Long Term Release (LTR) of the QGIS 3 series in early 2019.

This book is a quick start guide to QGIS; it uses the LTR 3.4 release as its foundation. It is recommended that you use this version while working through this book. The book has been written in such a way that you should be able to apply the foundational knowledge gained to future releases. However, QGIS is actively developed software and subject to change.

Topics covered in this introductory chapter include the following:

  • Installing QGIS
  • Toolbars and GUI

Installing QGIS

QGIS runs on most operating systems. It is even possible to install it on a Raspberry Pi! This is one of the reasons for the success of QGIS: it is supported on multiple platforms. The QGIS project provides ready-to-use packages as well as instructions to build from source code at http://download.qgis.org. In this quick start guide, we will cover how to install QGIS on two systems: Windows and Ubuntu.

Installing on Windows

There are two ways of installing QGIS on the Windows OS. Directly download the .exe file from http://download.qgis.org, or download it via the OSGeo4W installer. OSGeo4W is a small program that allows you not only to download and install QGIS, but also other OSGeo tools. We recommend that you use this installer for QGIS. You can download the 32-bit or the 64-bit OSGeo4W installers from http://osgeo4w.osgeo.org, or, you can download directly from http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86.exe or http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe. Download the version that matches your operating system and keep it. In the future, whenever you want to change or update your system, just run it again.

OSGeo4W installer

In this section, we will look at the advanced installer and express installer options (which will install the latest release) using OSGeo4W as the installer.

Latest release

Once you have downloaded the installer that matches your system, double-click on the .exe file and step through the following installation screens. The simplest way, which installs the latest release, is to select Express Desktop Install. This may not install QGIS 3.4. If you wish to do this, then please see the following subsection, Advanced installer. The express installation option is shown in the following screenshot:

OSGeo4W setup

Select the checkboxes next to QGIS, GDAL, and GRASS GIS. GDAL is used for reading and writing geospatial data and GRASS GIS is open source GIS software that can be used in combination with QGIS. This is shown in the following screenshot:

OSGeo4W setup, choosing options for install

Click Next and the downloading process will begin. Progress will be displayed as each component is downloaded and installed. Having these installed will provide you with many tools to perform geospatial analysis. After a short period of time, you should see OSGeo4W in your program menu, along with a subset of the software installed, including QGIS.

You can install multiple versions of QGIS. Sometimes, this may be necessary as plugins may not work with certain versions of the software. What if you want to choose a version? OSGeo4W allows this with the advanced installer.

Advanced installer

Run the OSGeo4W .exe file and select the radio button next to Advanced Install:

OSGeo4W setup (choosing Advanced Install)

Step through the installation wizard. When you get to Select Packages, choose the version you require. In the following screenshot, I have selected 3.4:

OSGeo4W setup (selecting packages to install)

You can select other packages if required. Once you have chosen the software, click on Next and the installation will begin.

Updating via OSGeo4W

You can use the OSGeo4W installer to install new updates. It will uninstall the previous version. You may have older versions installed on your system (perhaps installed with the standalone installer). To uninstall, locate the installation directory of the older version and run the uninstall.exe file. This is shown in the following screenshot:

Windows Explorer

Step through the uninstallation wizard and, once uninstalled, you should get a similar message (depending on your version) to this:

Uninstalling QGIS 2.18

Click on Finish to exit.

It is possible to have multiple versions of QGIS running on your system.

Installing on Ubuntu

On Ubuntu, the QGIS project provides packages for the LTR, Latest Release (LR), and development versions (DEV). For this book, we recommend installing the LTR version. The LTR version is the current most stable version of the software.

To avoid conflicts that may occur due to incompatible packages, make sure that you only add one of the package source options. The specific lines that you have to add to the source list depend on your OS version. The following version is the latest release for Debian stretch:

deb     https://qgis.org/debian stretch main
deb-src https://qgis.org/debian stretch main

After choosing the repository, we will add the qgis.org repository's public key to our apt keyring. This will avoid the warnings that you might otherwise get when installing from a non-default repository. Run the following command in Terminal:

wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import
gpg --fingerprint CAEB3DC3BDF7FB45
gpg --export --armor CAEB3DC3BDF7FB45 | sudo apt-key add -

If necessary, you might need to make adjustments based on your system. For an updated list of supported Ubuntu versions, check out http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu. By the time this book goes to print, the key information might have changed. Refer to http://www.qgis.org/en/site/forusers/alldownloads.htm for the latest updates.

Finally, to install QGIS, run the following commands. The first will fetch any updates to packages on your system; the second will install QGIS, the Python library, and the GRASS plugin:

sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass

This book has been written based on a QGIS installation on a Windows operating system. There may be slight visual changes between operating systems, especially the screenshots.

Using QGIS

Open QGIS from the installation location. If you followed the OSGeo4W installation on Windows, you should find it in under the OSGeo4W Shell folder in the Start menu. On loading, QGIS will appear similar to the following screenshot which I have annotated:

Overview of QGIS 3 annotated

The biggest area is reserved for the map.

Toolbar and panel overview

In this section, we will look at the panels and toolbars in QGIS and how to turn them on and off.

Panels

All panels are dockable; this means you can move them around as needed. To the left of the map, there are the Layers and Browser panels and to the right is Processing Toolbox. The Browser panel allows you find data in folders on your computer. From the Browser panel, you can drag data into the map. The Layers panel shows the data and its drawing order. Right-clicking on a layer in the Layers panel opens a context menu that lets you interact with that layer. We will be working with the Layers panel throughout this book. At the bottom of the QGIS project, we can see Status Bar. Status Bar is useful for quickly finding out what projection you are working in or the scale of the map. Finally, at the top of QGIS there is the window title (as yet unnamed project), menu options, and toolbars.

Toolbars

A toolbar is the place where tools are found! You can customize the toolbars to suit your work. These settings can be found via Settings | Interface Customizaton. In the previous screenshot, the toolbars were docked under the menu. Many of the tools can also be found via the menus as well. Hover the mouse cursor over a tool to find out more about it. It is also possible to build your own tools in QGIS using plugins.

Customizing

If you right-click near where I have annotated Menu in the previous screenshot, you can access Panels and Toolbars. If you accidentally turn a panel or toolbar off, then this is the place to turn it back on. You can also find these options via the View menu:

Customizing the panels and toolbars

In the next section, we will briefly look at some of the main toolbars.

The main toolbars

The map navigation toolbar is shown in the following screenshot:

Map navigation toolbar

These tools are all about moving around the map. Panning (the hand icon), zooming (magnifying glass), creating a new canvas view (fourth icon from the right), and bookmarking locations (third and second icons from the right) are all part of this toolbar. These tools should be similar to any map-based application. You can also use the scroll wheel on your mouse to zoom in and out of your map.

The attribute toolbar is all about interacting with data. It is shown in the following screenshots:

Attribute toolbar

These tools allow you to identify the attributes of vector layers or values of raster layers (the blue i). Select and deselect features (third, fourth, and fifth icons from the left), then open the attribute table (the table icon), the field calculator (the abacus icon), measure tool (the ruler icon), and the text annotations button (the final icon on the bar). These tools are very commonly used and will become part of your standard interaction with GIS data in QGIS.

The project toolbar is about saving and creating new projects in QGIS. A project is what contains links to all your files, the order they are in, how they are styled, any print layout— basically everything about your project. It is shown in the following screenshot:

Project toolbar

These tools allow you to create a new project (paper icon), open a project (folder icon), save project and save project as (disk icons), create and manage print layouts (two icons), and finally use the style manager. We will look at the print layout in more detail in Chapter 5, Creating Maps.

If you click on Project from the menu bar, you will see the same icons appearing. This is generally true for all the menus and corresponding toolbars. It is sometimes easier to keep frequently used toolbars, such as editing toolbars, open, and keep the other ones that are not so frequently used hidden to save on screen space.

We will look at other toolbars in more detail as we progress through this book.

Summary

We have introduced QGIS 3 in this chapter. We looked at the options for installing on both Windows and Ubuntu. Finally, we had a quick look at the QGIS interface and the nomenclature of its features.

In the next chapter, we will look at loading data and interacting with it in QGIS. We will describe what GIS is and how to save a project.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Work with GIS data, a step by step guide from creation to making a map
  • Perform geoprocessing tasks and automate them using model builder
  • Explore a range of features in QGIS 3.4, discover the power behind open source desktop GIS

Description

QGIS is a user friendly, open source geographic information system (GIS). The popularity of open source GIS and QGIS, in particular, has been growing rapidly over the last few years. This book is designed to help beginners learn about all the tools required to use QGIS 3.4. This book will provide you with clear, step-by-step instructions to help you apply your GIS knowledge to QGIS. You begin with an overview of QGIS 3.4 and its installation. You will learn how to load existing spatial data and create vector data from scratch. You will then be creating styles and labels for maps. The final two chapters demonstrate the Processing toolbox and include a brief investigation on how to extend QGIS. Throughout this book, we will be using the GeoPackage format, and we will also discuss how QGIS can support many different types of data. Finally, you will learn where to get help and how to become engaged with the GIS community.

Who is this book for?

If you know the basic functions and processes of GIS, and want to learn to use QGIS to analyze geospatial data and create rich mapping applications, then this is the book for you.

What you will learn

  • Use existing data to interact with the canvas via zoom/pan/selection
  • Create vector data and a GeoPackage and build a simple project around it
  • Style data, both vector and raster data, using the Layer Styling Panel
  • Design, label, save, and export maps using the data you have created
  • Analyze spatial queries using the Processing toolbox
  • Expand QGIS with the help of plugins, model builder, and the command line

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jan 31, 2019
Length: 164 pages
Edition : 1st
Language : English
ISBN-13 : 9781789341157
Vendor :
QGIS Development Team
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Jan 31, 2019
Length: 164 pages
Edition : 1st
Language : English
ISBN-13 : 9781789341157
Vendor :
QGIS Development Team
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 120.97
Learn QGIS
$43.99
Mastering Geospatial Development with QGIS 3.x
$43.99
QGIS Quick Start Guide
$32.99
Total $ 120.97 Stars icon

Table of Contents

8 Chapters
Getting Started with QGIS 3 Chevron down icon Chevron up icon
Loading Data Chevron down icon Chevron up icon
Creating Data Chevron down icon Chevron up icon
Styling Data Chevron down icon Chevron up icon
Creating Maps Chevron down icon Chevron up icon
Spatial Processing Chevron down icon Chevron up icon
Expanding QGIS 3 Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Half star icon Empty star icon Empty star icon Empty star icon 1.5
(2 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 50%
1 star 50%
Ernesto Aug 23, 2023
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
Come dice giustamente il titolo, il libro si presenta volutamente molto sintetico, ma le sintesi bisogna saperle fare. Solo i veri maestri ne sono capaci e l'autore deve molto migliorare da questo punto di vista. Per esempio, nel descrivere la schermata iniziale del programma, vengono impiegate 4 o 5 pagine scarse, quando invece era proprio qui che andava fatto un ampio quadro, panoramico ed orientativo. A seconda poi di cosa voleva apprendere, ogni lettore poteva capire quali di queste funzioni gli erano più o meno utili. Il libro è forse adatto per chi ha già una discreta padronanza di questo programma, non per chi comincia da zero.
Amazon Verified review Amazon
B.K. Roberts Jul 04, 2022
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
Competent with AI I have turned late in life to QGIS and and the books published to 'help'!Two basic comments:1: Learn how to assist those who seek to learn with CARE: personally I do NOT wish to merely pull the material for a map from an existing map, I wish to USE an existing map as the basis for creating a new map, MY map!2: All authors in the field need to learn how to create an INDEX, a proper, competent, INDEX: none know how to do this, yet WORD now has an inbuilt system. to make it easy!My competence may be (IS) undoubtedly limited, but having spent 20 years creating good computer maps with AI I do possess some skills, and indeed had been a creator of maps for 25 years before this , beginning with Indian ink and cartridge paper! ...Faced with consoles that resemble a complex organ, and instructions written in Old High Tibetan (I am sure a fascinating language with much to saty!), I do bend a little at 84 ... but the Packt> authors (ALL of them ... so far as I can see) need to invest more time in TEACHING and PREPARATION! I do not speak the languages ... but how many do ?Keep paddling the canoe ... but do bet, do better, do best ...BKRPS This windoiw for comment COULD be improved ... ...
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.