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

Function: st_pixelaspoint

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: rast, columnx, rowy - Returns a point geometry of the pixels upper-left corner.

 

Options

Option

Value

Returns

public.geometry

Language

sql

Parameters

rast public.raster

x integer

y integer

 

Definition

CREATE OR REPLACE FUNCTION public.st_pixelaspoint (
 rast public.raster,
 x integer,
 y integer
)
RETURNS public.geometry AS
$span$
SELECT
ST_PointN(ST_ExteriorRing(geom), 1) FROM public._ST_pixelaspolygons($1, NULL, $2, $3)
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_pixelaspoint(rast public.raster, x integer, y integer)
IS 'args: rast, columnx, rowy - Returns a point geometry of the pixels upper-left corner.';

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