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

Function: st_transform

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: rast, srid, algorithm=NearestNeighbor, maxerr=0.125, scalex, scaley - Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. Options are NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos defaulting to NearestNeighbor.

 

Options

Option

Value

Returns

public.raster

Language

sql

Parameters

rast public.raster

srid integer

algorithm text = 'NearestNeighbour'::text

maxerr double precision = 0.125

scalex double precision = 0

scaley double precision = 0

 

Definition

CREATE OR REPLACE FUNCTION public.st_transform (
 rast public.raster,
 srid integer,
 algorithm text = 'NearestNeighbour'::text,
 maxerr double precision = 0.125,
 scalex double precision = 0,
 scaley double precision = 0
)
RETURNS public.raster AS
$span$
SELECT public
._ST_gdalwarp($1, $3, $4, $2, $5, $6)
$span$
LANGUAGE
'sql'
STABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_transform(rast public.raster, srid integer, algorithm text, maxerr double precision, scalex double precision, scaley double precision)
IS 'args: rast, srid, algorithm=NearestNeighbor, maxerr=0.125, scalex, scaley - Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. Options are NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos defaulting to NearestNeighbor.';

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