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

Function: st_worldtorastercoord

 

 

Schema

public

 

Owner

postgres

 

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 _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 13/03/2014 13:23
Previous topic Chapter index Next topic