R/duckdb-funs.R
ST_RotateZ.Rd
Rotates a geometry around the Z axis. This is a shorthand macro for calling ST_Affine.
ST_RotateZ(geom, radians)
Unspecified.
The spatial extension (LOAD spatial;).
spatial
LOAD spatial;
-- Rotate a point 90 degrees (π/2 radians) around the Z-axis SELECT ST_RotateZ(ST_Point(1, 0), pi()/2); -- POINT (0 1)