The power of geometry generators

Geometry generators allow us to modify and create geometries. Using expression engines, they allow us to modify or generate geometry on the fly and to have different geometries stacked together, allowing us to make creating complex rendering an easy and feasible task. They can be used to perform different operations on point, line, and polygon data, and using the expression engine, we can generate advanced symbology.

Now, we will use the dhaka_gazipur.shp file to see some of the geometry generators you can use with polygon data:

This shapefile has two polygons. Suppose that we want to get the geometric center ...

Get Mastering Geospatial Development with QGIS 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.