Chapter 6. Composing Static Maps

In this chapter, we will cover the following recipes:

  • Creating the simplest map renderer
  • Using the map composer
  • Adding labels to a map for printing
  • Adding a scale bar to the map
  • Adding a north arrow to the map
  • Adding a logo to the map
  • Adding a legend to the map
  • Adding a custom shape to the map
  • Adding a grid to the map
  • Adding a table to the map
  • Saving a map to a PNG image
  • Adding a world file to a map image
  • Saving a map to a project
  • Loading a map from a project

Introduction

In this chapter, we'll create maps using PyQGIS, Qt image objects, and QGIS Map Composer to create map layouts that can be exported as documents or images. The QGIS Map Composer is designed to create static map layouts with decorative and reference elements, for printing or inclusion in another document.

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

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