pggeodb.nancy.inra.fr/db_robot - db_robot on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Function: st_covers

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: geogpolyA, geogpointB - Returns 1 (TRUE) if no point in Geometry B is outside Geometry A

 

Options

Option

Value

Returns

boolean

Language

sql

Parameters

public.geography

public.geography

 

Definition

CREATE OR REPLACE FUNCTION public.st_covers (
 public.geography,
 public.geography
)
RETURNS boolean AS
$span$
SELECT
$1 OPERATOR(public.&&) $2 AND public._ST_Covers($1, $2)
$span$
LANGUAGE
'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_covers(public.geography, public.geography)
IS 'args: geogpolyA, geogpointB - Returns 1 (TRUE) if no point in Geometry B is outside Geometry A';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51
Previous topic Chapter index Next topic