Chapter 3. Common Data Preprocessing Steps

In this chapter, we will cover the following recipes:

  • Converting points to lines to polygons and back – QGIS
  • Converting points to lines to polygons and back – SpatiaLite
  • Converting points to lines to polygons and back – PostGIS
  • Cropping rasters
  • Clipping vectors
  • Extracting vectors
  • Converting rasters to vectors
  • Converting vectors to rasters
  • Building DateTime strings
  • Geotagging photos

Introduction

When working with other people's data, it is often not the exact format that you need for a particular use. This chapter is all about taking the data that you do have and converting it to what you actually need. It covers converting between different types of vectors (points, lines, and polygons), between vectors and polygons, ...

Get QGIS: Becoming a GIS Power User 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.