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

Function: st_setgeoreference

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: rast, upperleftx, upperlefty, scalex, scaley, skewx, skewy - Set Georeference 6 georeference parameters in a single call. Numbers should be separated by white space. Accepts inputs in GDAL or ESRI format. Default is GDAL.

 

Options

Option

Value

Returns

public.raster

Language

sql

Parameters

rast public.raster

upperleftx double precision

upperlefty double precision

scalex double precision

scaley double precision

skewx double precision

skewy double precision

 

Definition

CREATE OR REPLACE FUNCTION public.st_setgeoreference (
 rast public.raster,
 upperleftx double precision,
 upperlefty double precision,
 scalex double precision,
 scaley double precision,
 skewx double precision,
 skewy double precision
)
RETURNS public.raster AS
$span$
SELECT public
.ST_setgeoreference($1, array_to_string(ARRAY[$4, $7, $6, $5, $2, $3], ' '))
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_setgeoreference(rast public.raster, upperleftx double precision, upperlefty double precision, scalex double precision, scaley double precision, skewx double precision, skewy double precision)
IS 'args: rast, upperleftx, upperlefty, scalex, scaley, skewx, skewy - Set Georeference 6 georeference parameters in a single call. Numbers should be separated by white space. Accepts inputs in GDAL or ESRI format. Default is GDAL.';

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