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

Function: gettopogeomelementarray

 

 

Schema

topology

 

Owner

postgres

 

Descriptions

args: tg - Returns a topoelementarray (an array of topoelements) containing the topological elements and type of the given TopoGeometry (primitive elements)

 

Options

Option

Value

Returns

topology.topoelementarray

Language

plpgsql

Parameters

tg topology.topogeometry

 

Definition

CREATE OR REPLACE FUNCTION topology.gettopogeomelementarray (
 tg topology.topogeometry
)
RETURNS topology.topoelementarray AS
$span$
DECLARE

 toponame varchar;
BEGIN
 toponame = topology.GetTopologyName(tg.topology_id);
 RETURN topology.GetTopoGeomElementArray(toponame, tg.layer_id, tg.id);
END;
$span$
LANGUAGE
'plpgsql'
STABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION topology.gettopogeomelementarray(tg topology.topogeometry)
IS 'args: tg - Returns a topoelementarray (an array of topoelements) containing the topological elements and type of the given TopoGeometry (primitive elements)';

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