[postgis-tickets] r17014 - Document maxerr in ST_Rescale.

Darafei komzpa at gmail.com
Wed Nov 14 05:38:11 PST 2018


Author: komzpa
Date: 2018-11-14 05:38:10 -0800 (Wed, 14 Nov 2018)
New Revision: 17014

Modified:
   trunk/doc/reference_raster.xml
Log:
Document maxerr in ST_Rescale.

Patch by Sunveer Singh.

Closes https://github.com/postgis/postgis/pull/334
Closes #2921



Modified: trunk/doc/reference_raster.xml
===================================================================
--- trunk/doc/reference_raster.xml	2018-11-13 21:56:56 UTC (rev 17013)
+++ trunk/doc/reference_raster.xml	2018-11-14 13:38:10 UTC (rev 17014)
@@ -6568,7 +6568,7 @@
 
 				<para>When the new scalex or scaley is not a divisor of the raster width or height, the extent of the resulting raster is expanded to encompass the extent of the provided raster. If you want to be sure to retain exact input extent see <xref linkend="RT_ST_Resize" /></para>
 
-				<para>A maxerror percent of 0.125 is used if no <varname>maxerr</varname> is specified.</para>
+				<para><varname>maxerr</varname> is the threshold for transformation approximation by the resampling algorithm (in pixel units). A default of 0.125 is used if no <varname>maxerr</varname> is specified, which is the same value used in GDAL gdalwarp utility. If set to zero, no approximation takes place.</para>
 
 				<note><para>Refer to: <ulink url="http://www.gdal.org/gdalwarp.html">GDAL Warp resampling methods</ulink> for more details. </para></note>
 



More information about the postgis-tickets mailing list