TransWikia.com

Categorising point layer twice by size and form in QGIS

Geographic Information Systems Asked on April 24, 2021

I have data points from a CSV-file that I opened in QGIS.

The points illustrate different power plants of solar, wind, geothermal, coal, oil, etc with different capacities within each class.

I already categorized the symbols by opening the Layer Properties...> Categorized and selected the value I wanted to categorize. In this case, I first wanted to be able to distinguish which type of power plant it is. Each type has a different color.

However, I would also like to categorize such points by the energy capacity of each plant. For this, I would like to change the size of the points if their capacity falls within a range.

How can this be done in QGIS?

One Answer

You can use data defined size override for this:

  1. Click on the symbol in your categorized renderer:

enter image description here

  1. Click on data defined override for size and choose the assistant:

enter image description here

  1. Choose your source and load the values. Adjust the settings if you like and confirm them:

enter image description here

  1. Done for the first part. Now you can also set up a data defined size legend. Click on advanced on the bottom right and choose data defined size legend:

enter image description here

  1. Choose your legend type, settings, etc:

enter image description here

  1. Result:

enter image description here

Correct answer by MrXsquared on April 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP