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

Function: st_scale

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geomA, XFactor, YFactor - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor, Yfactor, Zfactor).

 

Options

Option

Value

Returns

public.geometry

Language

sql

Parameters

public.geometry

double precision

double precision

 

Definition

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

COMMENT ON FUNCTION public.st_scale(public.geometry, double precision, double precision)
IS 'args: geomA, XFactor, YFactor - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor, Yfactor, Zfactor).';

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