> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_RelateMatch (Python)

> Check whether two DE-9IM are related to each other.

Check whether two DE-9IM are related to each other.

SQL reference: [`ST_RelateMatch`](/reference/wherobots-db/geometry-data/predicates/ST_RelateMatch)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_predicates import ST_RelateMatch

ST_RelateMatch(matrix1: ColumnOrName, matrix2: ColumnOrName) -> Column
```

## Parameters

<ParamField path="matrix1" type="ColumnOrName" required>
  One geometry column to check.
</ParamField>

<ParamField path="matrix2" type="ColumnOrName" required>
  Other geometry column to check.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  True if a and b touch and False otherwise, as a boolean column.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.