ST_Distance — Returns the 2-dimensional cartesian minimum distance between two geometries in projected units.
float ST_Distance(
geometry
g1, geometry
g2)
;
Returns the 2-dimensional minimum cartesian distance between two geometries in projected units.
This method implements the OpenGIS Simple Features Implementation Specification for SQL.
This method implements the SQL/MM specification: SQL-MM 3: 5.1.23