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

Function: st_coveredby

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geogA, geogB - Returns 1 (TRUE) if no point in Geometry/Geography A is outside Geometry/Geography B

 

Options

Option

Value

Returns

boolean

Language

sql

Parameters

public.geography

public.geography

 

Definition

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

COMMENT ON FUNCTION public.st_coveredby(public.geography, public.geography)
IS 'args: geogA, geogB - Returns 1 (TRUE) if no point in Geometry/Geography A is outside Geometry/Geography B';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23
Previous topic Chapter index Next topic