ST_Raster.getInterleaveType

定义

ST_Raster.getInterleaveType 函数用于返回 ST_Raster 的像素交叉属性。有效值包括以下内容:

语法

Oracle

getInterleaveType()

PostgreSQL

getInterleaveType(raster IN ST_RASTER)

SQL Server

getInterleaveType()

返回值

Oracle

VARCHAR2

PostgreSQL

文本

SQL Server

NVARCHAR

参数

示例

以下查询返回表中各个栅格的交叉类型:

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

3/7/2012