Introduction
Functions returning geometries
2. Functions returning geometries - introduction
Collections
Summary

Instruction

We'll start with a bunch of new functions. For the sake of clarity, we'll call them "functions returning geometries", but there is actually no official name for these types of functions.

So far, we've learned many functions that take geometries as parameters, such as:

  • ST_Area,
  • ST_DWithin,
  • ST_AsText.

The functions above return a number, a true/false value, and a text representation, respectively. None of the functions you've learned so far returned a new geometry based on an input geometry. This, however, will change now.

Exercise

Click Next exercise to continue.

Console

Code editor

Result

TableConsole