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

Function: createtopogeom

 

 

Schema

topology

 

Owner

albenard

 

Descriptions

args: toponame, tg_type, layer_id - Creates a new topo geometry object from topo element array - tg_type: 1:[multi]point, 2:[multi]line, 3:[multi]poly, 4:collection

 

Options

Option

Value

Returns

topology.topogeometry

Language

sql

Parameters

toponame varchar

tg_type integer

layer_id integer

 

Definition

CREATE OR REPLACE FUNCTION topology.createtopogeom (
 toponame varchar,
 tg_type integer,
 layer_id integer
)
RETURNS topology.topogeometry AS
$span$
 SELECT
topology.CreateTopoGeom($1,$2,$3,'{{0,0}}');
$span$
LANGUAGE
'sql'
VOLATILE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION topology.createtopogeom(toponame varchar, tg_type integer, layer_id integer)
IS 'args: toponame, tg_type, layer_id - Creates a new topo geometry object from topo element array - tg_type: 1:[multi]point, 2:[multi]line, 3:[multi]poly, 4:collection';

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