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

Function: st_pixelaspoint

 

 

Schema

public

 

Owner

postgres

 

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 07/12/2018 13:23
Previous topic Chapter index Next topic