12 Raster processing

This chapter covers

  • Loading raster data
  • Spatial aggregate raster functions
  • Accessing pixel values and isolating bands
  • Retiling rasters
  • Using geometries to clip rasters
  • Raster statistical functions
  • Map algebra functions

One of the most powerful aspects of PostGIS is its ability to use geometry and rasters in tandem. This chapter focuses on the use of raster aggregate functions, functions to manipulate rasters down to the pixel level, and functions for deriving additional rasters and geometries. You’ll also learn about built-in summary statistic functions that you can use to explore the distribution of pixel values. You’ll learn how to use geometry to isolate pixel values of interest.

For many of the examples in this chapter, ...

Get PostGIS in Action, Third 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.