Queries the skew of a raster object in the Y direction within 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
| Parameter | Description |
|---|---|
raster_obj | The name of the raster object. |
Examples
The following example queries the X-direction and Y-direction skew values for all raster objects in raster_table.
select st_skewx(rast), st_skewy(rast)
from raster_table;Output:
st_skewx | st_skewy
----------+-----------
0.3 | 0.2