Schema
Owner
postgres
Descriptions
args: gg1, gg2, use_spheroid - For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.
Options
Option | Value |
---|---|
Returns |
double precision |
Language |
sql |
Parameters |
public.geography public.geography boolean |
Definition
CREATE OR REPLACE FUNCTION public.st_distance (
public.geography,
public.geography,
boolean
)
RETURNS double precision AS
$span$
SELECT _ST_Distance($1, $2, 0.0, $3)
$span$
LANGUAGE 'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_distance(public.geography, public.geography, boolean)
IS 'args: gg1, gg2, use_spheroid - For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |