Getting ready

For this recipe, psql will be used as follows to time the queries:

> psql -U me -d chapter10
chapter10=# \timing on

We will use the caschools and sfpoly tables loaded in this chapter's first recipe.

Get PostGIS Cookbook - Second 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.