Advanced vector styling
This section introduces more advanced vector styling features, building on the basics that we covered in Chapter 2, Viewing Spatial Data. We will cover how to create detailed custom visualizations using the following features:
Graduated styles
Categorized styles
Rule-based styles
Data-defined styles
Heatmap styles
2.5D styles
Layer effects
Creating a graduated style
Graduated styles are great for visualizing distributions of numerical values in choropleth or similar maps. The graduated renderer supports two methods:
Color: This method changes the color of the feature according to the configured attribute
Size: This method changes the symbol size for the feature according to the configured attribute (this option is only available for point and line layers)
In our sample data, there is a climate.shp
file that contains locations and mean temperature values. We can visualize this data using a graduated style by simply selecting the T_F_MEAN value for the Column field and clicking...