Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_3DDistance

Introduction: Return the 3-dimensional minimum cartesian distance between A and B

Format: ST_3DDistance (A:geometry, B:geometry)

SQL example:

SELECT ST_3DDistance(polygondf.countyshape, polygondf.countyshape)
FROM polygondf