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

Function: st_rastertoworldcoord

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: rast, xcolumn, yrow - Returns the rasters upper left corner as geometric X and Y (longitude and latitude) given a column and row. Column and row starts at 1.

 

Options

Option

Value

Returns

record

Language

sql

Parameters

rast public.raster

columnx integer

rowy integer

out longitude double precision

out latitude double precision

 

Definition

CREATE OR REPLACE FUNCTION public.st_rastertoworldcoord (
 rast public.raster,
 columnx integer,
 rowy integer,
 out longitude double precision,
 out latitude double precision
)
RETURNS record AS
$span$
SELECT
longitude, latitude FROM public._ST_rastertoworldcoord($1, $2, $3)
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_rastertoworldcoord(rast public.raster, columnx integer, rowy integer, out longitude double precision, out latitude double precision)
IS 'args: rast, xcolumn, yrow - Returns the rasters upper left corner as geometric X and Y (longitude and latitude) given a column and row. Column and row starts at 1.';

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