All Products
Search
Document Center

PolarDB:ST_SkewY

Last Updated:Mar 28, 2026

Returns the Y-axis skew coefficient of a raster object in its spatial reference system.

Prerequisites

The raster object must have a valid spatial reference system identifier (SRID).

Syntax

float8 ST_SkewY(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster object to query.

Examples

The following example queries the X-axis and Y-axis skew coefficients for each raster in raster_table.

SELECT ST_SkewX(rast), ST_SkewY(rast)
FROM raster_table;

Output:

 st_skewx | st_skewy
----------+-----------
      0.3 |       0.2