Schema
Owner
postgres
Descriptions
There is no description for function _st_count
Options
Option | Value |
---|---|
Returns |
bigint |
Language |
|
Parameters |
rast public.raster nband integer = 1 exclude_nodata_value boolean = true sample_percent double precision = 1 |
Definition
CREATE OR REPLACE FUNCTION public._st_count (
rast public.raster,
nband integer = 1,
exclude_nodata_value boolean = true,
sample_percent double precision = 1
)
RETURNS bigint AS
$span$
DECLARE
rtn bigint;
BEGIN
IF exclude_nodata_value IS FALSE THEN
SELECT width * height INTO rtn FROM public.ST_Metadata(rast);
ELSE
SELECT count INTO rtn FROM public._ST_summarystats($1, $2, $3, $4);
END IF;
RETURN rtn;
END;
$span$
LANGUAGE 'plpgsql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |