Schema
Owner
postgres
Descriptions
args: g1, g2, distance - Returns true if all of the geometries are within the specified distance of one another
Options
Option | Value |
---|---|
Returns |
boolean |
Language |
sql |
Parameters |
geom1 public.geometry geom2 public.geometry double precision |
Definition
CREATE OR REPLACE FUNCTION public.st_dfullywithin (
geom1 public.geometry,
geom2 public.geometry,
double precision
)
RETURNS boolean AS
$span$
SELECT $1 && ST_Expand($2,$3) AND $2 && ST_Expand($1,$3) AND _ST_DFullyWithin(ST_ConvexHull($1), ST_ConvexHull($2), $3)
$span$
LANGUAGE 'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_dfullywithin(geom1 public.geometry, geom2 public.geometry, double precision)
IS 'args: g1, g2, distance - Returns true if all of the geometries are within the specified distance of one another';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |