This topic describes the ST_RelateMatch function. This function checks whether an intersection matrix complies with an intersection pattern.

Syntax

boolean  ST_RelateMatch(text  intersectionMatrix , text  intersectionMatrixPattern);

Parameters

Parameter Description
intersectionMatrix The intersection matrix that you want to specify.
intersectionMatrixPattern The intersecting pattern that you want to specify.

Examples

Check an intersection matrix by using the default parameter settings.
SELECT ST_RelateMatch('FF1F00102', 'FF*******') ;
 st_relatematch
----------------
 t
(1 row)