Adding Fields and Editing Feature Attributes with the Field Calculator

Surveys and statistical programs – Documentation: 89-20-00052020008

This document is no longer available. We regret any inconvenience this may have caused. To obtain a copy, please contact us.

Description: This QGIS tutorial introduces the Field Calculator, used to add or update fields within the attribute table and edit features. Like the Select by Expression tool, it uses expression syntax. Follow along as we use these tools in conjunction to select and edit large selections of features. Specifically, we’ll cover syntax for adding geometric measures such as area, length and XY coordinates, as well as creating and editing feature attributes in numeric and text fields – by adding a Class field and updating the speed_rest field (speed limits) in the CPRoads layer. Build upon the foundational skills for writing expressions covered in the previous demo – using these procedures to isolate and populate feature attributes in these fields. Ensure you apply the remaining expressions and save the edits (shown at the end of the video and below) to the CPRoads layer, for use in later tutorials (Demos #10 and 23-25). Extend these skills to add, edit and update fields and feature attributes in layers relevant to your own areas of work and expertise.
Notes: This video has been removed from our website. You can find it at publications.gc.ca.
Issue Number: 2020008
Frequency: Occasional

Related information

Subjects and keywords

Keywords