Getting ready

We will use the California schools (caschools) and San Francisco boundaries (sfpoly) tables for this recipe. If neither table is available, refer to the first recipe of this chapter.

The psql utility will be used for this recipe's queries, as shown here:

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

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.