Schema
Owner
postgres
Descriptions
args: rast, gridx, gridy, algorithm=NearestNeighbour, maxerr=0.125, scalex=DEFAULT 0, scaley=DEFAULT 0 - Resample a raster by snapping it to a grid. New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.
Options
Option | Value |
---|---|
Returns |
public.raster |
Language |
sql |
Parameters |
rast public.raster gridx double precision gridy double precision algorithm text = 'NearestNeighbour'::text maxerr double precision = 0.125 scalex double precision = 0 scaley double precision = 0 |
Definition
CREATE OR REPLACE FUNCTION public.st_snaptogrid (
rast public.raster,
gridx double precision,
gridy double precision,
algorithm text = 'NearestNeighbour'::text,
maxerr double precision = 0.125,
scalex double precision = 0,
scaley double precision = 0
)
RETURNS public.raster AS
$span$
SELECT _st_gdalwarp($1, $4, $5, NULL, $6, $7, $2, $3)
$span$
LANGUAGE 'sql'
STABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_snaptogrid(rast public.raster, gridx double precision, gridy double precision, algorithm text, maxerr double precision, scalex double precision, scaley double precision)
IS 'args: rast, gridx, gridy, algorithm=NearestNeighbour, maxerr=0.125, scalex=DEFAULT 0, scaley=DEFAULT 0 - Resample a raster by snapping it to a grid. New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |