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

Function: st_intersection

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geogA, geogB - (T)Returns a geometry that represents the shared portion of geomA and geomB.

 

Options

Option

Value

Returns

public.geography

Language

sql

Parameters

public.geography

public.geography

 

Definition

CREATE OR REPLACE FUNCTION public.st_intersection (
 public.geography,
 public.geography
)
RETURNS public.geography AS
$span$
SELECT public
.geography(public.ST_Transform(public.ST_Intersection(public.ST_Transform(public.geometry($1), public._ST_BestSRID($1, $2)), public.ST_Transform(public.geometry($2), public._ST_BestSRID($1, $2))), 4326))
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_intersection(public.geography, public.geography)
IS 'args: geogA, geogB - (T)Returns a geometry that represents the shared portion of geomA and geomB.';

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