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

Function: st_translate

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: g1, deltax, deltay, deltaz - Translate a geometry by given offsets.

 

Options

Option

Value

Returns

public.geometry

Language

sql

Parameters

public.geometry

double precision

double precision

double precision

 

Definition

CREATE OR REPLACE FUNCTION public.st_translate (
 public.geometry,
 double precision,
 double precision,
 double precision
)
RETURNS public.geometry AS
$span$
SELECT public
.ST_Affine($1, 1, 0, 0, 0, 1, 0, 0, 0, 1, $2, $3, $4)
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_translate(public.geometry, double precision, double precision, double precision)
IS 'args: g1, deltax, deltay, deltaz - Translate a geometry by given offsets.';

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