All Products
Search
Document Center

ApsaraDB RDS:ST_Disjoint

Last Updated:Sep 22, 2023

This topic describes the ST_Disjoint function. This function checks whether a raster object does not intersect with another raster object or a geometry object in the same spatial reference system.

Syntax

boolST_Disjoint(raster rast1, raster rast2);
boolST_Disjoint(raster rast, geometry geom);
boolST_Disjoint(geometry geom,raster rast);

Parameters

Parameter

Description

rast1

Raster object 1.

rast2

Raster object 2.

rast

The raster object.

geom

The geometry object.

Examples

SELECT a.id FROM tbl_a a, tbl_b b WHERE ST_Disjoint(a.rast, b.rast);
 id
----
(0 rows)