snowflake.snowpark.functions.st_dwithin¶
- snowflake.snowpark.functions.st_dwithin(geography_expression_1: Union[snowflake.snowpark.column.Column, str], geography_expression_2: Union[snowflake.snowpark.column.Column, str], distance_in_meters: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns true if the distance between two GEOGRAPHY objects is within the specified distance in meters.
- Parameters:
geography_expression_1 (ColumnOrName) – The first geography expression to compare
geography_expression_2 (ColumnOrName) – The second geography expression to compare
distance_in_meters (ColumnOrName) – The maximum distance in meters for the comparison
- Returns:
A boolean column indicating whether the two geography objects are within the specified distance
- Return type:
Examples