Schema
Owner
postgres
Descriptions
args: g1, g2 - Returns the 2-dimensional largest distance between two geometries in projected units.
Options
Option | Value |
---|---|
Returns |
double precision |
Language |
sql |
Parameters |
geom1 public.geometry geom2 public.geometry |
Definition
CREATE OR REPLACE FUNCTION public.st_maxdistance (
geom1 public.geometry,
geom2 public.geometry
)
RETURNS double precision AS
$span$
SELECT public._ST_MaxDistance(public.ST_ConvexHull($1), public.ST_ConvexHull($2))
$span$
LANGUAGE 'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_maxdistance(geom1 public.geometry, geom2 public.geometry)
IS 'args: g1, g2 - Returns the 2-dimensional largest distance between two geometries in projected units.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |