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 geojson.io
  • 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

Introduction

This chapter provides interesting and valuable QGIS Python tricks that didn't fit into any topics in other chapters. Each recipe has a specific purpose, but in many cases, a recipe may demonstrate multiple concepts that you'll find useful in other programs. All the recipes in this chapter run in the QGIS Python console.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset