st_distancesphere


Description

args: geomlonlatA, geomlonlatB - Returns minimum distance in meters between two lon/lat geometries. Uses a spherical earth and radius derived from the spheroid defined by the SRID. Faster than ST_DistanceSpheroid , but less accurate. PostGIS versions prior to 1.5 only implemented for points.

Parameters

Name Type Mode
geom1 USER-DEFINED IN
geom2 USER-DEFINED IN