O'Reilly logo

Mastering QGIS - Second Edition by GISP Dr. John Van Hoesen, Dr. Luigi Pirelli, GISP Dr. Richard Smith Jr., GISP Kurt Menke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to load layers

Loading layers in QGIS involves different steps, which are as follows:

  1. Load the layer. This step creates a variable with the layer information and related data.
  2. Register the layer in QGIS so that it can be used by other QGIS tools.

Loading a layer means loading a reference to the layer and its metadata. The layer is not necessarily loaded in memory, but is usually fetched only when data is accessed to be processed or visualized.

Loading and registering a layer are separate steps. A layer can be loaded, processed, and modified before it is visualized, or it can be loaded as temporary data for an algorithm. In this case, it's not necessary that the QGIS framework would be aware of the layer.

Tip

The iface object has shortcuts to load ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required