Book Image

Learn QGIS - Fourth Edition

By : Andrew Cutts, Anita Graser
Book Image

Learn QGIS - Fourth Edition

By: Andrew Cutts, Anita Graser

Overview of this book

QGIS 3.4 is the first LTR (long term release) of QGIS version 3. This is a giant leap forward for the project with tons of new features and impactful changes. Learn QGIS is fully updated for QGIS 3.4, covering its processing engine update, Python 3 de-facto coding environment, and the GeoPackage format. This book will help you get started on your QGIS journey, guiding you to develop your own processing pathway. You will explore the user interface, loading your data, editing, and then creating data. QGIS often surprises new users with its mapping capabilities; you will discover how easily you can style and create your first map. But that’s not all! In the final part of the book, you’ll learn about spatial analysis and the powerful tools in QGIS, and conclude by looking at Python processing options. By the end of the book, you will have become proficient in geospatial analysis using QGIS and Python.
Table of Contents (8 chapters)

Vector data

Now that we have become more familiar with inspecting, selecting, and interacting with data within QGIS, it's time to create data. In this section, we are going to edit attribute data, create vector data, and join data.

Editing attribute data

With the AREA_MI <= 1000 selection, let's add a field and populate it with a marker based on this selection.

Click on the Field Calculator button in the attributes toolbar to open up the field calculator.

This window contains considerable information; there is a great deal of power within the field calculator. In our case, we want to create a new field called small_area and assign yes if it is =< 1000, or no if it is >1000. As with many of the tools in GIS...