Schema
Owner
postgres
Descriptions
args: geomA, geomB - Returns true if and only if no points of B lie in the exterior of A, and at least one point of the interior of B lies in the interior of A.
Options
Option | Value |
---|---|
Returns |
boolean |
Language |
sql |
Parameters |
geom1 public.geometry geom2 public.geometry |
Definition
CREATE OR REPLACE FUNCTION public.st_contains (
geom1 public.geometry,
geom2 public.geometry
)
RETURNS boolean AS
$span$
SELECT $1 ~ $2 AND _ST_Contains($1,$2)
$span$
LANGUAGE 'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_contains(geom1 public.geometry, geom2 public.geometry)
IS 'args: geomA, geomB - Returns true if and only if no points of B lie in the exterior of A, and at least one point of the interior of B lies in the interior of A.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |