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

Function: st_pixelaspolygons

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: rast, band=1, exclude_nodata_value=TRUE - Returns the polygon geometry that bounds every pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel.

 

Options

Option

Value

Returns

Set of record

Language

sql

Parameters

rast public.raster

band integer = 1

exclude_nodata_value boolean = true

out geom public.geometry

out val double precision

out x integer

out y integer

 

Definition

CREATE OR REPLACE FUNCTION public.st_pixelaspolygons (
 rast public.raster,
 band integer = 1,
 exclude_nodata_value boolean = true,
 out geom public.geometry,
 out val double precision,
 out x integer,
 out y integer
)
RETURNS SETOF record AS
$span$
SELECT
geom, val, x, y FROM public._ST_pixelaspolygons($1, $2, NULL, NULL, $3)
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100 ROWS 1000;

COMMENT ON FUNCTION public.st_pixelaspolygons(rast public.raster, band integer, exclude_nodata_value boolean, out geom public.geometry, out val double precision, out x integer, out y integer)
IS 'args: rast, band=1, exclude_nodata_value=TRUE - Returns the polygon geometry that bounds every pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel.';

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