ST_Drape
Signature
Description
This function drapes an input geometry (geomA
) to a set of triangles (geomB
).
Notes :
- The supported input geometry types are
POINT
, MULTIPOINT
, LINESTRING
, MULTILINESTRING
, POLYGON
and MULTIPOLYGON
- In case of 1 or 2 dimension, the input geometry (
geomA
) is intersected with the triangles to perform a full draping.
- If a
POINT
lies on two triangles, the z
value of the first triangle is kept.
Examples
Case between a LINESTRING
and a POLYGON
Case between a LINESTRING
and a MULTIPOLYGON
Case between two POLYGONS
Case between a MULTIPOINT
and a POLYGON
Case between a MULTILINESTRING
and a POLYGON
Case between a MULTIPOLYGON
and a POLYGON
See also