ST_Distance
ST_Distance in DuckDB spatial extension, not yet mapped to an operation.
| Engine | DuckDB spatial extension |
|---|---|
| Tool name | ST_Distance |
| Interface | sql |
| Implements | Not stated |
| Documentation | Not stated |
| Effects | Not stated |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
point1 | POINT_2D | no | Not stated | Not stated | Not stated |
point2 | POINT_2D | no | Not stated | Not stated | Not stated |
point | POINT_2D | no | Not stated | Not stated | Not stated |
linestring | LINESTRING_2D | no | Not stated | Not stated | Not stated |
geom1 | GEOMETRY | no | Not stated | Not stated | Not stated |
geom2 | GEOMETRY | no | Not stated | Not stated | Not stated |
SQL overloads
-
ST_Distance(point1 POINT_2D, point2 POINT_2D) → DOUBLE -
ST_Distance(point POINT_2D, linestring LINESTRING_2D) → DOUBLE -
ST_Distance(linestring LINESTRING_2D, point POINT_2D) → DOUBLE -
ST_Distance(geom1 GEOMETRY, geom2 GEOMETRY) → DOUBLE
Harvested by the duckdb-spatial harvester from engine version
a3dbcd1781. Names can change when an engine is harvested again.