Book Image

QGIS Python Programming Cookbook

Book Image

QGIS Python Programming Cookbook

Overview of this book

Table of Contents (16 chapters)
QGIS Python Programming Cookbook
About the Author
About the Reviewers

Chapter 9. Other Tips and Tricks

In this chapter, we will cover the following recipes:

  • Creating tiles from a QGIS map

  • Adding a layer to

  • Rendering map layers based on rules

  • Creating a layer style file

  • Using NULL values in PyQGIS

  • Using generators for layer queries

  • Using alpha values to show data density

  • Using the __geo_interface__ protocol

  • Generating points along a line

  • Using expression-based labels

  • Creating dynamic forms in QGIS

  • Calculating length for all the selected lines

  • Using a different status bar CRS than the map

  • Creating HTML labels in QGIS

  • Using OpenStreetMap's points of interest in QGIS

  • Visualizing data in 3D with WebGL

  • Visualizing data on a globe