Chapter 9. Other Tips and Tricks

In this chapter, we will cover the following:

  • Creating tiles from a QGIS map
  • Adding a layer to geojson.io
  • Rendering map layers based on rules
  • Creating a layer-definition file
  • Using NULL values in PyQGIS
  • Using generators for layer queries
  • Using alpha values to show data density
  • Using the __geo_interface__ protocol
  • Getting the output file names from processing algorithms
  • Generating points along a line
  • Using expression-based labels
  • Creating dynamic forms in QGIS
  • Calculating the length for all selected lines
  • Using a different status bar CRS than the map
  • Creating HTML labels in QGIS
  • Using OpenStreetMap points of interest in QGIS
  • Changing the QGIS web proxy
  • Running QGIS scripts as scheduled tasks
  • Visualizing data in 3D with WebGL
  • Visualizing ...

Get QGIS Python Programming Cookbook - Second 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.