R/duckdb-funs.R
ST_TransScale.Rd
Translates and then scales a geometry in X and Y direction. This is a shorthand macro for calling ST_Affine.
ST_TransScale(geom, dx, dy, xs, ys)
Unspecified.
The spatial extension (LOAD spatial;).
spatial
LOAD spatial;
-- Translate by (1, 2) then scale by (2, 3) SELECT ST_TransScale(ST_Point(1, 1), 1, 2, 2, 3); -- POINT (4 9)