ST_WithinDistanceFilter( ST_Geometry , DOUBLE, VARCHAR(128)) method

An inexpensive of whether two geometries might be within a specified distance of each other.

Syntax

geometry-expression.ST_WithinDistanceFilter( ST_Geometry geo2, DOUBLE distance, VARCHAR(128) unit_name)

Parameters

Returns

BIT Returns 1 if geometry-expression and geo2 might be within the specified distance of each other, otherwise 0.

Examples

Standards

SQL/MM (ISO/IEC 13249-3: 2006) Vendor extension