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

Function: st_worldtorastercoord

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: rast, longitude, latitude - Returns the upper left corner as column and row given geometric X and Y (longitude and latitude) or a point geometry expressed in the spatial reference coordinate system of the raster.

 

Options

Option

Value

Returns

record

Language

sql

Parameters

rast public.raster

longitude double precision

latitude double precision

out columnx integer

out rowy integer

 

Definition

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

COMMENT ON FUNCTION public.st_worldtorastercoord(rast public.raster, longitude double precision, latitude double precision, out columnx integer, out rowy integer)
IS 'args: rast, longitude, latitude - Returns the upper left corner as column and row given geometric X and Y (longitude and latitude) or a point geometry expressed in the spatial reference coordinate system of the raster.';

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