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_transscale

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geomA, deltaX, deltaY, XFactor, YFactor - Translate a geometry by given factors and offsets.

 

Options

Option

Value

Returns

public.geometry

Language

sql

Parameters

public.geometry

double precision

double precision

double precision

double precision

 

Definition

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

COMMENT ON FUNCTION public.st_transscale(public.geometry, double precision, double precision, double precision, double precision)
IS 'args: geomA, deltaX, deltaY, XFactor, YFactor - Translate a geometry by given factors and offsets.';

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