11 Geometry and geography processing

This chapter covers

  • Spatial aggregation
  • Clipping, splitting, tessellating, segmentizing, and subdividing
  • Translating, scaling, and rotating geometries (affine operations)
  • Using geometry functions with geography types

This chapter demonstrates techniques for manipulating geometries and geographies, and the end result is generally another geometry or geography. Unless we tell you otherwise, all functions that we demonstrate in this chapter work with both data types.

Through the years, we’ve amassed a catalog of problems that GIS users encounter, and in this chapter we’ll share with you the most common problems we’ve witnessed and our solutions. Keep in mind that multiple solutions exist for a given problem. ...

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.