From: Regina Obe Date: Tue, 6 Sep 2011 08:07:05 +0000 (+0000) Subject: document st_resample - still need to put in examples X-Git-Tag: 2.0.0alpha1~1043 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db0c1629585e9b4840d1baef0a32ed4c2d5e23eb;p=postgis document st_resample - still need to put in examples git-svn-id: http://svn.osgeo.org/postgis/trunk@7811 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index 3ee3b58fb..9948c76e6 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -3474,6 +3474,60 @@ WHERE rid = 2; + + + ST_Resample + Warps a raster in a known spatial reference system using a specified resampling algorithm and reference raster. The new raster will have the same srid, skew and dimensions as the reference. + Uses NearestNeighbor if no algorithm is specified Options: NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline, Lanczos. + + + + + + raster ST_Resample + raster rast + raster ref + text algorithm=NearestNeighbour + double precision maxerr=0.125 + + + + raster ST_Resample + raster rast + integer srid=NULL + double precision scalex=0 + double precision scaley=0 + double precision gridx=NULL + double precision gridy=NULL + text algorithm=NearestNeighbor + double precision skewx=0 + double precision skewy=0 + double precision maxerr=0.125 + + + + + + Description + + Warps a raster using specified pixel warping algorithm. + Uses 'NearestNeighbor' if no algorithm is specified and maxerror percent of 0.125 if no maxerr is specified. + Algorithm options are: 'NearestNeighbor', 'Bilinear', 'Cubic', 'CubicSpline', and 'Lanczos'. Refer to: GDAL Warp resampling methods for more details. NearestNeighbor is the fastest but worst interpoloation + Availability: 2.0.0 Requires GDAL 1.6.1+ + + + + Examples + + -- TO DO -- + + + + See Also + + + + ST_Transform