terraware
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
st_patchn
Description
args: geomA, n - Returns the Nth geometry (face) of a PolyhedralSurface.
Parameters
Name
Type
Mode
$1
USER-DEFINED
IN
$2
integer
IN
Definition
SELECT CASE WHEN public.ST_GeometryType($1) = 'ST_PolyhedralSurface' THEN public.ST_GeometryN($1, $2) ELSE NULL END