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

Conditional formatting for attribute table cells

Looking at attribute tables can often be tedious work, especially when you are trying to look for certain values, because all of the cells in the attribute table are formatted the same: black text on a light background. QGIS has a fantastic feature that allows cells to have a different format based on expressions that you set. This is called conditional formatting. In this section, we will use conditional formatting to make it easier to identify which schools are public and private, which schools are elementary schools, and which schools do not have a site identification number assigned. We will use the schools.shp sample data for this section:

  1. Add schools.shp to QGIS Desktop and open its attribute ...

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