PostGIS

ST_SkewX

Prev

10.4. Raster Accessors

Next

Name

ST_SkewX — Returns the georeference X skew (or rotation parameter).

Synopsis

float8 +`*`+ST_SkewX*(`raster `rast`)`;

Description

Returns the georeference X skew (or rotation parameter). Refer to World File for more details.

Examples

SELECT rid, ST_SkewX(rast) As skewx, ST_SkewY(rast) As skewy,
    ST_GeoReference(rast) as georef
FROM dummy_rast;

 rid | skewx | skewy |       georef
-----+-------+-------+--------------------
   1 |     0 |     0 | 2.0000000000
                     : 0.0000000000
                     : 0.0000000000
                     : 3.0000000000
                     : 0.5000000000
                     : 0.5000000000
                     :
   2 |     0 |     0 | 0.0500000000
                     : 0.0000000000
                     : 0.0000000000
                     : -0.0500000000
                     : 3427927.7500000000
                     : 5793244.0000000000

See Also