ST_Raster.getInterleaveType

Definition

The ST_Raster.getInterleaveType function returns the pixel interleave property of the ST_Raster. Valid values include the following:

Syntax

Oracle

getInterleaveType()

PostgreSQL

getInterleaveType(raster IN ST_RASTER)

SQL Server

getInterleaveType()

Returns

Oracle

VARCHAR2

PostgreSQL

Text

SQL Server

NVARCHAR

Parameters

None

Example

The following query returns the interleave type for each raster in the table:

Oracle

PostgreSQL

Oracle

SELECT image.raster_id, image.getInterleaveType()
FROM FOO t;

T.IMAGE.RASTER_ID T.IMAGE.GETINTERLEAVETYPE()
--------------- -------------------------
              2 SEQUENTIAL
              3 SEQUENTIAL
             23 SEQUENTIAL
             24 SEQUENTIAL 
             42 SEQUENTIAL
             43 SEQUENTIAL

PostgreSQL

SELECT raster_id(image), getInterleaveType(image)
FROM foo;

RASTER_ID(IMAGE) GETINTERLEAVETYPE(IMAGE)
---------------- ------------------------
               2 SEQUENTIAL
               3 SEQUENTIAL
              23 SEQUENTIAL
              24 SEQUENTIAL 
              42 SEQUENTIAL
              43 SEQUENTIAL

SQL Server

SELECT image.raster_id, image.getInterleaveType()
FROM foo;

IMAGE.RASTER_ID IMAGE.GETINTERLEAVETYPE()
--------------- -------------------------
              2 SEQUENTIAL
              3 SEQUENTIAL
             23 SEQUENTIAL
             24 SEQUENTIAL 
             42 SEQUENTIAL
             43 SEQUENTIAL
6/19/2015