Saving and loading styles

What's better than making an awesome style for your feature layers? Being able to easily share and reuse them. Both vector and raster styles can be saved and reused—however, in slightly different ways.

Getting ready

For this recipe, you need two similar vector layers and a set of two similar raster layers. In the example data that is provided, use two of the bus route shapefiles and two of the elevation rasters (for example, elevlid_D782_6.tif).

How to do it…

First we'll start by copying and pasting styles for vector layers:

  1. Load up two bus route shapefiles and two elevlid rasters.
  2. The simplest method is to copy styles for vectors or rasters. Just right-click on the layer name in the list and select Copy Style from the Style ...

Get QGIS: Becoming a GIS Power User now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.